feat: handle builds during the release process

This commit is contained in:
Jose Diaz-Gonzalez
2019-06-09 12:34:50 -04:00
parent ea32544e37
commit 1a4af9b3ea

View File

@@ -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