File tree Expand file tree Collapse file tree 2 files changed +30
-1
lines changed
Expand file tree Collapse file tree 2 files changed +30
-1
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,10 @@ AWStats Changelog
1010- Add .svgz to image list
1111- Exclude groups.google from search engines
1212- Add %time5 tag to support log format with iso time with timezone.
13-
13+ - Add option DynamicDNSLookup to make DNS lookup during output instead
14+ of during log analysis processing.
15+ - Increase default value for MaxRowsInHTMLOutput
16+
1417
1518***** 7.4 *****
1619
Original file line number Diff line number Diff line change 230230
231231if ($nboftargetok ) {
232232
233+ # Update GIT tag if required
234+ # ---------------------------
235+ if ($nbofpublishneedtag )
236+ {
237+ print " Go to directory $SOURCE \n " ;
238+ $olddir =getcwd();
239+ chdir (" $SOURCE " );
240+
241+ print ' Run git tag -a -m "' .$MAJOR .' .' .$MINOR .' " "' .$MAJOR .' .' .$MINOR .' "' ." \n " ;
242+ $ret =` git tag -a -m "$MAJOR .$MINOR .$BUILD " "$MAJOR .$MINOR " 2>&1` ;
243+ if ($ret =~ / already exists/ )
244+ {
245+ print " WARNING: Tag " .$MAJOR .' .' .$MINOR ." already exists. Overwrite (y/N) ? " ;
246+ $QUESTIONOVERWRITETAG =<STDIN >;
247+ chomp ($QUESTIONOVERWRITETAG );
248+ if ($QUESTIONOVERWRITETAG =~ / (o|y)/ )
249+ {
250+ print ' Run git tag -a -f -m "' .$MAJOR .' .' .$MINOR .' " "' .$MAJOR .' .' .$MINOR .' "' ." \n " ;
251+ $ret =` git tag -a -f -m "$MAJOR .$MINOR " "$MAJOR .$MINOR "` ;
252+ }
253+ }
254+ print ' Run git push --tags' ." \n " ;
255+ $ret =` git push --tags` ;
256+ chdir (" $olddir " );
257+ }
258+
233259 # Update buildroot
234260 # -----------------
235261 if (! $copyalreadydone ) {
You can’t perform that action at this time.
0 commit comments