Skip to content

Commit f351f1f

Browse files
committed
fix: postversion
1 parent c315487 commit f351f1f

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,15 @@ jobs:
2626
run: |
2727
npm ci
2828
29-
- name: Semantic Release
30-
uses: codfish/semantic-release-action@master
31-
id: semantic
29+
# - name: Semantic Release
30+
# uses: codfish/semantic-release-action@master
31+
# id: semantic
32+
# env:
33+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
35+
36+
- name: Semantic-Release
37+
run: npx semantic-release
3238
env:
3339
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3440
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
"version": "1.0.17-qa.2",
44
"private": true,
55
"scripts": {
6-
"postversion": "react-native-version --never-amend"
6+
"postversion": "./react-native-version.sh"
7+
},
8+
"config": {
9+
"unsafe-perm": true
710
},
811
"dependencies": {
912
"@semantic-release/commit-analyzer": "^8.0.1",

0 commit comments

Comments
 (0)