Merge pull request #8935 from backstage/jhaals/publish
Publish pre-releases under `next` npm dist tag
This commit is contained in:
@@ -192,7 +192,12 @@ jobs:
|
||||
|
||||
# Publishes current version of packages that are not already present in the registry
|
||||
- name: publish
|
||||
run: yarn lerna -- publish from-package --yes
|
||||
run: |
|
||||
if [ -f ".changeset/pre.json" ]; then
|
||||
yarn lerna -- publish from-package --yes --dist-tag next
|
||||
else
|
||||
yarn lerna -- publish from-package --yes
|
||||
fi
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user