diff --git a/contrib/release b/contrib/release index 2251be18e..5ee03a0ab 100755 --- a/contrib/release +++ b/contrib/release @@ -346,6 +346,10 @@ main() { fn-publish-package "$IS_RELEASE" "rpm" "dokku-${NEXT_VERSION}-1.x86_64.rpm" || log-fail "Error publishing rpm package" fn-repo-push-tags "$IS_RELEASE" + if [[ "$IS_RELEASE" != "true" ]]; then + git reset -q HEAD plugins/*/plugin.toml + git checkout -- plugins/*/plugin.toml + fi } main "$@" diff --git a/contrib/release-dokku-update b/contrib/release-dokku-update index 36963540f..740524dc1 100755 --- a/contrib/release-dokku-update +++ b/contrib/release-dokku-update @@ -55,7 +55,7 @@ fn-publish-package() { declare desc="Publishes a package to packagecloud" declare IS_RELEASE="$1" RELEASE_TYPE="$2" PACKAGE_NAME="$3" local REPOSITORY=dokku/dokku-betafish DIST=ubuntu - local OS_ID ex + local OS_ID ex EXIT_CODE=0 [[ "$IS_RELEASE" == "true" ]] && REPOSITORY=dokku/dokku [[ "$RELEASE_TYPE" == "rpm" ]] && DIST=el/7