0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

ci: fix changeset action (#12504)

This commit is contained in:
Matt Kane 2024-11-22 11:43:45 +00:00 committed by GitHub
parent 3dc714ae4b
commit c6a31e3978
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -85,6 +85,8 @@ jobs:
id: changesets
run: |
pnpm exec changeset status --output status.output.json 2>&1
# Snapshots don't work in pre mode. See https://github.com/changesets/changesets/issues/1195
pnpm exec changeset pre exit || true
pnpm exec changeset version --snapshot ${{ steps.getSnapshotName.outputs.result }}
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
@ -102,8 +104,6 @@ jobs:
id: publish
run: |
GITHUB_ACTIONS=0 pnpm run build > build.output.txt 2>&1
# Snapshots don't work in pre mode. See https://github.com/changesets/changesets/issues/1195
pnpm exec changeset pre exit || true
pnpm exec changeset publish --tag experimental--${{ steps.getSnapshotName.outputs.result }} > publish.output.txt 2>&1
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)