mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
make preview and release tag based
This commit is contained in:
10
scripts/tag-release-build
Executable file
10
scripts/tag-release-build
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
cd mvn-defaults
|
||||
set -x
|
||||
CURRENT_VERSION=$(mvn help:evaluate -Dexpression=revision -q -DforceStdout)
|
||||
RELEASE_VERSION=${CURRENT_VERSION%%-SNAPSHOT}
|
||||
RELEASE_TAG="${RELEASE_VERSION}-release"
|
||||
printf "release tag: '%s'\n" "${RELEASE_TAG}"
|
||||
|
||||
git tag "${RELEASE_TAG}"
|
||||
|
||||
Reference in New Issue
Block a user