From e561f87b17cefd886844b87dd5f2ecbc9c146447 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Mon, 14 Oct 2019 11:40:27 -0400 Subject: [PATCH] fix: correct tag release --- contrib/release-dokku | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/release-dokku b/contrib/release-dokku index c8dd76fd0..8dcd52149 100755 --- a/contrib/release-dokku +++ b/contrib/release-dokku @@ -372,8 +372,8 @@ main() { fn-build-docker-image "$NEXT_VERSION" || log-fail "Error building docker image" if [[ "$IS_RELEASE" == "true" ]]; then - docker tag "dokku/dokku:$VERSION" "dokku/dokku:latest" - docker push "dokku/dokku:$VERSION" + docker tag "dokku/dokku:$NEXT_VERSION" "dokku/dokku:latest" + docker push "dokku/dokku:$NEXT_VERSION" docker push "dokku/dokku:latest" fi fn-repo-push-tags "$IS_RELEASE"