Merge pull request #8984 from backstage/rugvip/nightly

workflows: make nightly builds exit prerelease mode if needed
This commit is contained in:
Patrik Oldsberg
2022-01-18 09:28:40 +01:00
committed by GitHub
+4 -1
View File
@@ -60,8 +60,11 @@ jobs:
run: yarn build
# Prepares a nightly release version of any package with pending changesets
# Pre-mode is exited if case we're in it, otherwise it has no effect
- name: prepare nightly release
run: yarn changeset version --snapshot nightly
run: |
yarn changeset pre exit
yarn changeset version --snapshot nightly
# Publishes the nightly release to npm, by using tag we make sure the release is
# not flagged as the latest release, which means that people will not get this