[Asterisk-code-review] push-release: Transfer certified releases to disk1. (repotools[master])

George Joseph asteriskteam at digium.com
Tue Jul 21 09:54:11 CDT 2020


George Joseph has submitted this change. ( https://gerrit.asterisk.org/c/repotools/+/14634 )

Change subject: push-release: Transfer certified releases to disk1.
......................................................................

push-release: Transfer certified releases to disk1.

For certified releases we also transfer them internally
using SCP to an HTTP downloads server. In the case of
release candidates this is the only place they go as
that is the mechanism used to provide them to other teams.

Change-Id: Ibfd50321e1a7b027ad3aa7e1ce692589ceb05868
---
M push-release.sh
1 file changed, 7 insertions(+), 0 deletions(-)

Approvals:
  George Joseph: Looks good to me, approved; Approved for Submit



diff --git a/push-release.sh b/push-release.sh
index 65c264d..93e9908 100755
--- a/push-release.sh
+++ b/push-release.sh
@@ -20,6 +20,13 @@
 	FTP_PROJECT="asterisk"
 fi
 
+if [[ $FTP_PROJECT == 'certified-asterisk' ]]; then
+	scp *${VERSION}* swdev-disk1:/mnt/pub/releases/certified/
+	if [[ $VERSION = *"rc"* ]]; then
+		exit
+	fi
+fi
+
 if [ ! -d ftp-${FTP_PROJECT} ]; then
 	svn co https://origsvn.digium.com/svn/sites/downloads.asterisk.org/telephony/${FTP_PROJECT}/pending ftp-${FTP_PROJECT}
 else

-- 
To view, visit https://gerrit.asterisk.org/c/repotools/+/14634
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: repotools
Gerrit-Branch: master
Gerrit-Change-Id: Ibfd50321e1a7b027ad3aa7e1ce692589ceb05868
Gerrit-Change-Number: 14634
Gerrit-PatchSet: 1
Gerrit-Owner: Joshua Colp <jcolp at sangoma.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20200721/74028723/attachment.html>


More information about the asterisk-code-review mailing list