This is an automated email from the ASF dual-hosted git repository.
mck 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 98b6223 Deb and RPM scripts need to detect alpha|beta|rc tentative
tag names as well
98b6223 is described below
commit 98b622315d807a5c4b4311cd21d20866f390ee60
Author: mck <[email protected]>
AuthorDate: Wed Jul 15 00:32:28 2020 +0200
Deb and RPM scripts need to detect alpha|beta|rc tentative tag names as well
---
docker/build-debs.sh | 2 +-
docker/build-rpms.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docker/build-debs.sh b/docker/build-debs.sh
index 26e5f77..5150e18 100755
--- a/docker/build-debs.sh
+++ b/docker/build-debs.sh
@@ -56,7 +56,7 @@ if [ "$tag" ]; then
# Official release
regx_tag="cassandra-(([0-9.]+)(-(alpha|beta|rc)[0-9]+)?)$"
# Tentative release
- regx_tag_tentative="([0-9.]+)-tentative$"
+ regx_tag_tentative="(([0-9.]+)(-(alpha|beta|rc)[0-9]+)?)-tentative$"
if [[ $tag =~ $regx_tag ]] || [[ $tag =~ $regx_tag_tentative ]]; then
git_version=${BASH_REMATCH[1]}
else
diff --git a/docker/build-rpms.sh b/docker/build-rpms.sh
index adae844..87319e8 100755
--- a/docker/build-rpms.sh
+++ b/docker/build-rpms.sh
@@ -58,7 +58,7 @@ if [ "$tag" ]; then
# Official release
regx_tag="cassandra-(([0-9.]+)(-(alpha|beta|rc)[0-9]+)?)$"
# Tentative release
- regx_tag_tentative="([0-9.]+)-tentative$"
+ regx_tag_tentative="(([0-9.]+)(-(alpha|beta|rc)[0-9]+)?)-tentative$"
if [[ $tag =~ $regx_tag ]] || [[ $tag =~ $regx_tag_tentative ]]; then
git_version=${BASH_REMATCH[1]}
else
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]