diff --git a/scripts/publish b/scripts/publish index b1a09a2..5a970d4 100755 --- a/scripts/publish +++ b/scripts/publish @@ -149,12 +149,15 @@ yarn version --$RELEASE_TYPE echo "Building" yarn run build -create_github_release verify_commit_is_signed echo "Pushing git commit and tag" git push --follow-tags +# Create release after commit and tag are pushed to ensure package.json +# is bumped in the GitHub release. +create_github_release + echo "Publishing release" yarn --ignore-scripts publish --non-interactive --access=public