Skip to content

Commit

Permalink
chore: change canary action to be run on release and not have hardcod…
Browse files Browse the repository at this point in the history
…ed version
  • Loading branch information
pablocampogo committed May 3, 2024
1 parent 5047918 commit 532c49a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/canary.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Release (Canary)
on:
push:
branches: [release]
release:
types: [published]
workflow_dispatch:

jobs:
Expand All @@ -26,7 +26,7 @@ jobs:
run: |
jq --arg prop "workspaces" 'del(.[$prop])' package.json > package.tmp.json && rm package.json && cp package.tmp.json package.json && rm package.tmp.json
cd src
npm --no-git-tag-version version 2.9.29-stateless-1
npm --no-git-tag-version version "${{ github.ref }}"
bun ../scripts/updateVersion.ts
- name: Build
Expand Down

0 comments on commit 532c49a

Please sign in to comment.