Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Update package release workflow
We were using `github.event.release.tag_name` to set the new version of the package, but the tag_name in question contains a leading 'v' (`v4.0.0` for example) which breaks the workflow (invalid semver version, it expects `4.0.0` instead). Since we are currently bumping the version manually anyway, we can just call yarn publish with the `--non-interactive` flag, which will set the version to the current version defined in package.json (see yarnpkg/yarn#5748). That's exactly what we want in this context.
- Loading branch information