diff --git a/docs/awstats_changelog.txt b/docs/awstats_changelog.txt index 8b4274fc6..95f04ddce 100644 --- a/docs/awstats_changelog.txt +++ b/docs/awstats_changelog.txt @@ -10,7 +10,10 @@ AWStats Changelog - Add .svgz to image list - Exclude groups.google from search engines - Add %time5 tag to support log format with iso time with timezone. - +- Add option DynamicDNSLookup to make DNS lookup during output instead + of during log analysis processing. +- Increase default value for MaxRowsInHTMLOutput + ***** 7.4 ***** diff --git a/make/makepack-awstats.pl b/make/makepack-awstats.pl index ab56f458a..9054bdf0b 100755 --- a/make/makepack-awstats.pl +++ b/make/makepack-awstats.pl @@ -230,6 +230,32 @@ if ($nboftargetok) { + # Update GIT tag if required + #--------------------------- + if ($nbofpublishneedtag) + { + print "Go to directory $SOURCE\n"; + $olddir=getcwd(); + chdir("$SOURCE"); + + print 'Run git tag -a -m "'.$MAJOR.'.'.$MINOR.'" "'.$MAJOR.'.'.$MINOR.'"'."\n"; + $ret=`git tag -a -m "$MAJOR.$MINOR.$BUILD" "$MAJOR.$MINOR" 2>&1`; + if ($ret =~ /already exists/) + { + print "WARNING: Tag ".$MAJOR.'.'.$MINOR." already exists. Overwrite (y/N) ? "; + $QUESTIONOVERWRITETAG=; + chomp($QUESTIONOVERWRITETAG); + if ($QUESTIONOVERWRITETAG =~ /(o|y)/) + { + print 'Run git tag -a -f -m "'.$MAJOR.'.'.$MINOR.'" "'.$MAJOR.'.'.$MINOR.'"'."\n"; + $ret=`git tag -a -f -m "$MAJOR.$MINOR" "$MAJOR.$MINOR"`; + } + } + print 'Run git push --tags'."\n"; + $ret=`git push --tags`; + chdir("$olddir"); + } + # Update buildroot #----------------- if (! $copyalreadydone) {