mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-12-22 15:13:41 -06:00
11 lines
271 B
Plaintext
11 lines
271 B
Plaintext
|
#!/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}"
|
||
|
|