diff options
author | 2024-11-22 11:43:45 +0000 | |
---|---|---|
committer | 2024-11-22 11:43:45 +0000 | |
commit | c6a31e3978efef26cb376dcd23ab4eb5e2a8fd4f (patch) | |
tree | dd103a528fe23c71a70a6fd15fbc9288e8466ab5 | |
parent | 3dc714ae4b5839ec5d97246ba5197e7f7b021b56 (diff) | |
download | astro-c6a31e3978efef26cb376dcd23ab4eb5e2a8fd4f.tar.gz astro-c6a31e3978efef26cb376dcd23ab4eb5e2a8fd4f.tar.zst astro-c6a31e3978efef26cb376dcd23ab4eb5e2a8fd4f.zip |
ci: fix changeset action (#12504)
-rw-r--r-- | .github/workflows/snapshot-release.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/snapshot-release.yml b/.github/workflows/snapshot-release.yml index 5ea024824..ae8d3060f 100644 --- a/.github/workflows/snapshot-release.yml +++ b/.github/workflows/snapshot-release.yml @@ -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) |