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