Skip to content

Commit

Permalink
ci: fix unstable release
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Glastra <timo@animo.id>
  • Loading branch information
TimoGlastra committed Jun 24, 2024
1 parent e262610 commit c7acb23
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ jobs:
release-unstable:
name: Release Unstable
runs-on: ubuntu-latest
if: "!startsWith(github.event.head_commit.message, 'chore(release): new version')"
steps:
- name: Checkout Repo
uses: actions/checkout@v4
Expand Down Expand Up @@ -76,6 +77,15 @@ jobs:

- name: Create unstable release
run: |
# this ensures there's always a patch release created
cat << 'EOF' > .changeset/snapshot-template-changeset.md
---
'@credo-ts/core': patch
---
snapshot release
EOF
pnpm changeset version --snapshot alpha
pnpm build
pnpm changeset publish --tag alpha
Expand Down

0 comments on commit c7acb23

Please sign in to comment.