mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
build script updates
This commit is contained in:
@@ -5,15 +5,17 @@ CURRENT_VERSION=$(mvn help:evaluate -Dexpression=revision -q -DforceStdout)
|
|||||||
RELEASE_VERSION=${CURRENT_VERSION%%-SNAPSHOT}
|
RELEASE_VERSION=${CURRENT_VERSION%%-SNAPSHOT}
|
||||||
PREVIEW_TAG="${RELEASE_VERSION}-preview"
|
PREVIEW_TAG="${RELEASE_VERSION}-preview"
|
||||||
printf "preview tag: '%s'\n" "${PREVIEW_TAG}"
|
printf "preview tag: '%s'\n" "${PREVIEW_TAG}"
|
||||||
|
set -e
|
||||||
|
|
||||||
if [ "$1" == "-f" ]
|
if [ "$1" == "-f" ]
|
||||||
then
|
then
|
||||||
git tag -f "${PREVIEW_TAG}"
|
git tag -f "${PREVIEW_TAG}" \
|
||||||
git push -f origin "${PREVIEW_TAG}
|
&& git push -f origin "${PREVIEW_TAG}" \
|
||||||
|
&& printf "force pushed tag %s to origin, triggering build.\n" "${PREVIEW_TAG}"
|
||||||
else
|
else
|
||||||
git tag "${PREVIEW_TAG}"
|
git tag "${PREVIEW_TAG}" \
|
||||||
git push origin "${PREVIEW_TAG}
|
&& git push origin "${PREVIEW_TAG}" \
|
||||||
|
&& printf "pushed tag %s to origin, triggering build.\n" "${PREVIEW_TAG}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
printf "pushed tag %s to origin, triggering build.\n" "${PREVIEW_TAG}"
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,2 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
scripts/release-notes.sh > PREVIEW_NOTES.md
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
scripts/release-notes.sh > RELEASE_NOTES.md
|
|
||||||
Reference in New Issue
Block a user