File tree Expand file tree Collapse file tree 5 files changed +113
-92
lines changed Expand file tree Collapse file tree 5 files changed +113
-92
lines changed Original file line number Diff line number Diff line change 4
4
release :
5
5
types : [ published ]
6
6
7
+ env :
8
+ RELEASE_VERSION : ${{ github.event.release.tag_name }}
9
+
7
10
permissions :
8
11
id-token : write
9
12
@@ -20,13 +23,23 @@ jobs:
20
23
- name : 📦️ Install dependencies
21
24
run : bun install --frozen-lockfile
22
25
26
+ - name : ✏️ Tag v${{ env.RELEASE_VERSION }}
27
+ run : |
28
+ bun pm version --cwd packages/common ${{ env.RELEASE_VERSION }}
29
+ bun pm version --cwd packages/fireworks ${{ env.RELEASE_VERSION }}
30
+ bun pm version --cwd packages/snow ${{ env.RELEASE_VERSION }}
31
+
32
+ sed -i 's/workspace:\*/${{ env.RELEASE_VERSION }}/g' packages/common/package.json
33
+ sed -i 's/workspace:\*/${{ env.RELEASE_VERSION }}/g' packages/fireworks/package.json
34
+ sed -i 's/workspace:\*/${{ env.RELEASE_VERSION }}/g' packages/snow/package.json
35
+
23
36
- name : 🔨 Build
24
37
run : |
25
- bun run --cwd packages/common build
26
- bun run --cwd packages/fireworks build
27
- bun run --cwd packages/snow build
38
+ bun --cwd packages/common build
39
+ bun --cwd packages/fireworks build
40
+ bun --cwd packages/snow build
28
41
29
- - name : 🚀 Publish
42
+ - name : 🚀 Publish v${{ env.RELEASE_VERSION }}
30
43
run : |
31
44
bun publish --cwd packages/common --access public
32
45
bun publish --cwd packages/fireworks --access public
You can’t perform that action at this time.
0 commit comments