[Asterisk-code-review] releaser.sh: Update script to account for new README.md format (repotools[master])

Kevin Harwell asteriskteam at digium.com
Wed Feb 21 18:05:19 CST 2018


Kevin Harwell has uploaded this change for review. ( https://gerrit.asterisk.org/8368


Change subject: releaser.sh: Update script to account for new README.md format
......................................................................

releaser.sh: Update script to account for new README.md format

When the new README.md format was accepted in Asterisk this file was not
updated to created the appropriate link to the new README.md file type.
This patch makes it so the correct link is now made.

Note, this will now create an improper link to any branch still using the old
README type. That should currently only stuff on the 14 branch. Since that is
the only one when a release is done on that branch and this script is ran then
the README link needs to be updated manually for that branch. Once we are done
supporting in a few months we won't have to worry about it anymore.

Change-Id: I60a2605360ae7f0fda6186508aebfd2f9d69a1a1
---
M releaser.sh
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.asterisk.org:29418/repotools refs/changes/68/8368/1

diff --git a/releaser.sh b/releaser.sh
index f740446..68748f8 100755
--- a/releaser.sh
+++ b/releaser.sh
@@ -68,7 +68,7 @@
 	ln -s releases/$1-$2.md5 ./$1-$3.md5
 	ln -s releases/$1-$2-patch.tar.gz ./$1-$3-patch.tar.gz
 	ln -s releases/$1-$2-patch.tar.gz.asc ./$1-$3-patch.tar.gz.asc
-	ln -s releases/README-$2 ./README-$3
+	ln -s releases/README-$2.md ./README-$3
 	ln -s releases/ChangeLog-$2 ./ChangeLog-$3
 	ln -s releases/$1-$2-summary.html ./$1-$3-summary.html
 	ln -s releases/$1-$2-summary.txt ./$1-$3-summary.txt

-- 
To view, visit https://gerrit.asterisk.org/8368
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: repotools
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I60a2605360ae7f0fda6186508aebfd2f9d69a1a1
Gerrit-Change-Number: 8368
Gerrit-PatchSet: 1
Gerrit-Owner: Kevin Harwell <kharwell at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180221/6c6d95e8/attachment.html>


More information about the asterisk-code-review mailing list