nosqlbench/scripts/tag-release-build

11 lines
271 B
Plaintext
Raw Normal View History

2023-01-23 21:18:53 -06:00
#!/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}"