You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by ms...@apache.org on 2019/09/05 19:37:53 UTC

[cassandra-builds] branch master updated: Clear and refetch tags to account for re-tagging a new sha

This is an automated email from the ASF dual-hosted git repository.

mshuler pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cassandra-builds.git


The following commit(s) were added to refs/heads/master by this push:
     new 627a246  Clear and refetch tags to account for re-tagging a new sha
627a246 is described below

commit 627a24684092fce1dcc556758d795fb250ef45e3
Author: Michael Shuler <mi...@pbandjelly.org>
AuthorDate: Thu Sep 5 12:37:45 2019 -0700

    Clear and refetch tags to account for re-tagging a new sha
---
 docker/build-rpms.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/docker/build-rpms.sh b/docker/build-rpms.sh
index 8b083c9..15a2249 100755
--- a/docker/build-rpms.sh
+++ b/docker/build-rpms.sh
@@ -10,6 +10,9 @@ CASSANDRA_BRANCH=$1
 
 cd $CASSANDRA_DIR
 git fetch
+# clear and refetch tags to account for re-tagging a new sha
+git tag -d $(git tag) > /dev/null
+git fetch --tags > /dev/null 2>&1
 git checkout $CASSANDRA_BRANCH || exit 1
 
 # Used version for build will always depend on the git referenced used for checkout above


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org