diff options
author | Thomas F Herbert <therbert@redhat.com> | 2016-06-23 04:30:43 -0400 |
---|---|---|
committer | Thomas F Herbert <therbert@redhat.com> | 2016-06-30 12:21:24 -0400 |
commit | 4782e429c42c02cfb2484a7bb1a5f01e9f7be6f5 (patch) | |
tree | 384fe4ea60aecf325fde246da8820631981ada46 | |
parent | 1fe93bf666765927d9ed15ead14db85caf51098c (diff) |
RPM: Apex: Add git hash substring to file name to create version ID of RPMs in artifactory. Rebased to latest.
Change-Id: Ibe6e15bedcb6e481319579dbcd69fe675349b929
Signed-off-by: Thomas F Herbert <therbert@redhat.com>
-rwxr-xr-x | ci/upload_artifacts.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ci/upload_artifacts.sh b/ci/upload_artifacts.sh index 45128bd..86774e8 100755 --- a/ci/upload_artifacts.sh +++ b/ci/upload_artifacts.sh @@ -22,12 +22,13 @@ set -o pipefail echo "Uploading the OVS and DPDK RPM artifacts. " echo "-----------------------------------------" echo +gitver=`git log --pretty=oneline -n1|cut -c1-8` cd $TMP_RELEASE_DIR for i in `ls *.rpm` do - echo copying $i to gs://$GS_URL/ovs4opnfv - gsutil cp $TMP_RELEASE_DIR/$i gs://$GS_URL/ovs4opnfv-$i + echo copying $i to gs://$GS_URL/ovs4opnfv-$gitver + gsutil cp $TMP_RELEASE_DIR/$i gs://$GS_URL/ovs4opnfv-$gitver-$i echo done |