From 1a4af9b3ea133f5618039600f629a68e21a3e547 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sun, 9 Jun 2019 12:34:50 -0400 Subject: [PATCH] feat: handle builds during the release process --- contrib/release-dokku | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/release-dokku b/contrib/release-dokku index a3d2e2443..e5e1fc951 100755 --- a/contrib/release-dokku +++ b/contrib/release-dokku @@ -360,6 +360,8 @@ main() { if [[ "$RELEASE" != "build" ]]; then fn-publish-package "$IS_RELEASE" "deb" "build/dokku_${NEXT_VERSION}_amd64.deb" || log-fail "Error publishing deb package" fn-publish-package "$IS_RELEASE" "rpm" "build/dokku-${NEXT_VERSION}-1.x86_64.rpm" || log-fail "Error publishing rpm package" + docker build -t "dokku/dokku:$NEXT_VERSION" . + docker push "dokku/dokku:$NEXT_VERSION" fn-repo-push-tags "$IS_RELEASE" fi