You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2019/10/01 20:27:51 UTC

[allura] 02/02: Release script to update copyright year

This is an automated email from the ASF dual-hosted git repository.

brondsem pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/allura.git

commit 5213438abd25429d59d921a4e8e3a0368e125d53
Author: Dave Brondsema <da...@brondsema.net>
AuthorDate: Tue Oct 1 16:26:29 2019 -0400

    Release script to update copyright year
---
 scripts/asf-release.sh | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/scripts/asf-release.sh b/scripts/asf-release.sh
index 01d4ba0..e1859b6 100755
--- a/scripts/asf-release.sh
+++ b/scripts/asf-release.sh
@@ -45,6 +45,10 @@ RELEASE_FILE_EXTRACTED=$RELEASE_DIR/$RELEASE_BASE
 RELEASE_FILE=$RELEASE_DIR/$RELEASE_FILENAME
 RELEASE_TAG=rel/$VERSION
 CLOSE_DATE=`date -d '+72 hours' -R --utc | sed -e 's/+0000/UTC/'`
+YEAR=`date +%Y`
+
+sed -i -e "s/2012-[0-9]\{4\} /2012-$YEAR /" NOTICE */NOTICE */docs/conf.py
+git commit -m "Update copyright year" NOTICE */NOTICE */docs/conf.py
 
 scripts/changelog.py rel/$PREV_VERSION HEAD $VERSION > .changelog.tmp
 echo >> .changelog.tmp
@@ -122,8 +126,7 @@ Changes for this version are listed at:
 The RAT license report is available at:
   $RAT_LOG_PASTEBIN_URL
 
-Vote will be open for at least 72 hours ($CLOSE_DATE).  Votes from Allura PMC members are binding,
-but we welcome all community members to vote as well.
+Vote will be open for at least 72 hours ($CLOSE_DATE).  Votes from Allura PMC members are binding, but we welcome all community members to vote as well.
 
 [ ] +1 approve
 [ ] +0 no opinion