diff options
author | Thomas F Herbert <therbert@redhat.com> | 2016-06-30 16:30:18 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-06-30 16:30:18 +0000 |
commit | 329305235137adb72f9e8736f78f21fff3ec2ed6 (patch) | |
tree | b78e1a6981f5f8eaba3188fe7573790cfe4bd398 | |
parent | 6f971f00a354bd68af0ca6b55ab00c5d1c1dfa0f (diff) | |
parent | 4782e429c42c02cfb2484a7bb1a5f01e9f7be6f5 (diff) |
Merge "RPM: Apex: Add git hash substring to file name to create version ID of RPMs in artifactory. Rebased to latest."
-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 |