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

Joshua Colp asteriskteam at digium.com
Fri Feb 23 08:13:05 CST 2018


Joshua Colp has submitted this change and it was merged. ( 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 create 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 be stuff on the 14 branch. Since that is
the only one, when a release is done on that branch and this script is run then
the README link needs to be updated manually for that branch. Once we are done
supporting that branch 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(-)

Approvals:
  Richard Mudgett: Looks good to me, but someone else must approve
  Joshua Colp: Looks good to me, approved; Approved for Submit



diff --git a/releaser.sh b/releaser.sh
index f740446..b5f25d4 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.md
 	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: merged
Gerrit-Change-Id: I60a2605360ae7f0fda6186508aebfd2f9d69a1a1
Gerrit-Change-Number: 8368
Gerrit-PatchSet: 2
Gerrit-Owner: Kevin Harwell <kharwell at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180223/bd963d94/attachment.html>


More information about the asterisk-code-review mailing list