fix: cleanup temporary changes during betafish releases

[ci skip]
This commit is contained in:
Jose Diaz-Gonzalez
2018-05-20 19:02:10 -04:00
parent 5ab170a60a
commit 047626909c

View File

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