Skip to content

Commit

Permalink
ci(dockerhub): fix mistake in circleci bash script (#4251)
Browse files Browse the repository at this point in the history
* ci(dockerhub): fix mistake in circleci bash script
  • Loading branch information
stefreak authored May 12, 2023
1 parent ea454bd commit 3ea912d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,13 @@ jobs:
- deploy:
name: Release docker images
command: |
if [[ -z "${CIRCLE_TAG}" ]]; then
if [[ "${CIRCLE_TAG}" = "" ]]; then
# 0.12 edge release
export MAJOR_VERSION=0
export MINOR_VERSION=12
export CODENAME=acorn
export PRERELEASE=edge
else
if ! [[ ${CIRCLE_TAG} =~ "^0.12" ]]; then
echo "This pipeline should only build 0.12 releases"
exit 1
Expand All @@ -425,12 +431,6 @@ jobs:
echo "Invalid SemVer tag."
exit 1
fi
else
# 0.12 edge release
export MAJOR_VERSION=0
export MINOR_VERSION=12
export CODENAME=acorn
export PRERELEASE=edge
fi
# Build and publish
Expand Down

0 comments on commit 3ea912d

Please sign in to comment.