summaryrefslogtreecommitdiffstats
path: root/ci/upload_artifacts.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci/upload_artifacts.sh')
-rwxr-xr-xci/upload_artifacts.sh5
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