prereleases from main until nb4 is happy

This commit is contained in:
Jonathan Shook 2020-12-22 12:55:06 -06:00
parent 0e1658a567
commit 340ccb84a5

View File

@ -96,13 +96,13 @@ jobs:
- name: select release type from branch name
run: |
current_branch=$(git rev-parse --abbrev-ref HEAD)
if [[ ${current_branch} == *"-rc"* ]]
if [[ ${current_branch} == *"main"* ]]
then
echo "PRERELEASE=true" >> $GITHUB_ENV
echo "DOCKER_TAGS=nosqlbench/nosqlbench:${{ env.RELEASE_VERSION }}" >> $GITHUB_ENV
else
echo "PRERELEASE=false" >> $GITHUB_ENV
echo "DOCKER_TAGS=nosqlbench/nosqlbench:latest,nosqlbench/nosqlbench:${{ env.RELEASE_VERSION }}" >> $GITHUB_ENV
#else
# echo "PRERELEASE=false" >> $GITHUB_ENV
# echo "DOCKER_TAGS=nosqlbench/nosqlbench:latest,nosqlbench/nosqlbench:${{ env.RELEASE_VERSION }}" >> $GITHUB_ENV
fi
- name: prepare Maven release