Skip to content

Commit

Permalink
fix Makefile operator version variable name in release target
Browse files Browse the repository at this point in the history
  • Loading branch information
isindir committed Jul 25, 2020
1 parent cea0f32 commit 0ed479e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,14 @@ docker-push:
release: docker-build-dont-test
@{ \
set +e ; \
git tag "${VERSION}" ; \
git tag "${SOPS_SEC_OPERATOR_VERSION}" ; \
tagResult=$$? ; \
if [[ $$tagResult -ne 0 ]]; then \
echo "Release '${VERSION}' exists - skipping" ; \
echo "Release '${SOPS_SEC_OPERATOR_VERSION}' exists - skipping" ; \
else \
set -e ; \
git-chglog "${VERSION}" > chglog.tmp ; \
hub release create -F chglog.tmp "${VERSION}" ; \
git-chglog "${SOPS_SEC_OPERATOR_VERSION}" > chglog.tmp ; \
hub release create -F chglog.tmp "${SOPS_SEC_OPERATOR_VERSION}" ; \
echo "${DOCKERHUB_PASS}" | base64 -d | docker login -u "${DOCKERHUB_USERNAME}" --password-stdin ; \
docker push ${IMG} ; \
docker push ${IMG_LATEST} ; \
Expand Down

0 comments on commit 0ed479e

Please sign in to comment.