We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ce61bf commit 2ef14d6Copy full SHA for 2ef14d6
.circleci/config.yml
@@ -94,6 +94,14 @@ jobs:
94
name: Deploy GitHub release and DockerHub image (only for master)
95
command: |
96
make release
97
+
98
+ EXPECTED_RELEASE=$(cat dist/release/TAG)
99
+ ACTUAL_RELEASE=$(./dist/assets/lstags-linux/lstags --version | cut -d" " -f2)
100
+ if [ "${ACTUAL_RELEASE}" != "${EXPECTED_RELEASE}" ]; then
101
+ echo "Release versioning is inconsistent (expected: ${EXPECTED_RELEASE} / actual: ${ACTUAL_RELEASE})" >>/dev/stderr
102
+ exit 1
103
+ fi
104
105
if [ ${CIRCLE_BRANCH} == "master" ]; then
106
make docker-image DOCKER_TAG=release
107
make deploy
0 commit comments