File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -50,11 +50,12 @@ jobs:
50
50
node scripts/verify-pkg-main.js
51
51
- name : Create release tag
52
52
run : |
53
+ git reset --hard
53
54
MDC_CURRENT_VERSION="v$(npm run version --silent)"
54
55
git config --local user.email "action@github.com"
55
56
git config --local user.name "GitHub Action"
56
- export changelog=$( npx conventional-changelog --preset angular)
57
- git tag -a "$MDC_CURRENT_VERSION" -m "$changelog "
57
+ npx conventional-changelog --preset angular
58
+ git tag "$MDC_CURRENT_VERSION"
58
59
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
59
60
git push origin "$MDC_CURRENT_VERSION"
60
61
env :
Original file line number Diff line number Diff line change 7
7
"publish" : {
8
8
"ignoreChanges" : [
9
9
" *.md" ,
10
- " *.increment1 "
10
+ " *.increment2 "
11
11
]
12
12
}
13
13
},
You can’t perform that action at this time.
0 commit comments