Skip to content

Commit 3cce678

Browse files
committed
ci: fix release versions
1 parent 9bb06b1 commit 3cce678

File tree

3 files changed

+21
-8
lines changed

3 files changed

+21
-8
lines changed

.github/actions/release/action.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ runs:
1919
shell: bash
2020
run: npm whoami
2121

22-
- name: Build Headless Kit
23-
shell: bash
24-
run: npx nx build headless
22+
# - name: Build Headless Kit
23+
# shell: bash
24+
# run: npx nx build headless
2525

26-
- name: Replace utils version in package.json
27-
shell: bash
28-
run: pnpm update.version
26+
# - name: Replace utils version in package.json
27+
# shell: bash
28+
# run: pnpm update.version
2929

3030
- name: Version
3131
env:

packages/kit-headless/project.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,20 @@
5252
"noVerify": true,
5353
"push": true,
5454
"releaseAs": "patch",
55-
"postTargets": ["headless:publish", "headless:push-to-github"]
55+
"postTargets": [
56+
"headless:build",
57+
"headless:update-utils-version",
58+
"headless:publish",
59+
"headless:push-to-github"
60+
]
61+
}
62+
},
63+
64+
"update-utils-version": {
65+
"executor": "nx:run-commands",
66+
"options": {
67+
"parallel": false,
68+
"command": "pnpm update.version"
5669
}
5770
},
5871

packages/utils/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"noVerify": true,
4646
"push": true,
4747
"releaseAs": "patch",
48-
"postTargets": ["utils:publish", "utils:push-to-github"]
48+
"postTargets": ["utils:build", "utils:publish", "utils:push-to-github"]
4949
}
5050
},
5151
"publish": {

0 commit comments

Comments
 (0)