Code Review
/
ovsnfv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
(from parent 1:
6f971f0
)
Merge "RPM: Apex: Add git hash substring to file name to create version ID of RPMs...
author
Thomas F Herbert
<therbert@redhat.com>
Thu, 30 Jun 2016 16:30:18 +0000
(16:30 +0000)
committer
Gerrit Code Review
<gerrit@172.30.200.206>
Thu, 30 Jun 2016 16:30:18 +0000
(16:30 +0000)
ci/upload_artifacts.sh
patch
|
blob
|
history
diff --git
a/ci/upload_artifacts.sh
b/ci/upload_artifacts.sh
index
45128bd
..
86774e8
100755
(executable)
--- 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