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

Joshua Colp asteriskteam at digium.com
Mon Jul 13 04:35:43 CDT 2020


Joshua Colp has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.asterisk.org:29418/repotools refs/changes/34/14634/1

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-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20200713/18e06a2d/attachment.html>


More information about the asterisk-code-review mailing list