File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838 env :
3939 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4040 run : |
41- # Run semantic-release with only commit analyzer to detect version
42- NEXT_VERSION=$(npx semantic-release --dry-run --plugins @semantic-release/commit-analyzer | tee /dev/stderr | awk '/The next release version is/{print $NF}')
41+ # Run semantic-release with dry-run to detect version
42+ NEXT_VERSION=$(npx semantic-release --dry-run --verify-conditions false | tee /dev/stderr | awk '/The next release version is/{print $NF}')
4343 echo "next=$NEXT_VERSION" >> $GITHUB_OUTPUT
4444
4545 - name : Update package.json
Original file line number Diff line number Diff line change 11{
22 "branches" : [" master" ],
33 "plugins" : [
4- " @semantic-release/commit-analyzer" ,
5- " @semantic-release/release-notes-generator" ,
4+ [
5+ " @semantic-release/commit-analyzer" ,
6+ {
7+ "preset" : " conventionalcommits"
8+ }
9+ ],
10+ [
11+ " @semantic-release/release-notes-generator" ,
12+ {
13+ "preset" : " conventionalcommits"
14+ }
15+ ],
616 [
717 " @semantic-release/npm" ,
818 {
Original file line number Diff line number Diff line change 55 "@commitlint/cli" : " ^20.3.1" ,
66 "@commitlint/config-conventional" : " ^20.3.1" ,
77 "@semantic-release/exec" : " ^7.0.3" ,
8+ "conventional-changelog-conventionalcommits" : " ^9.3.0" ,
89 "husky" : " ^9.1.7" ,
910 "mocha" : " ^7.1.2" ,
1011 "semantic-release" : " ^25.0.2" ,
You can’t perform that action at this time.
0 commit comments