File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8080
8181# ##########################################################################################
8282
83-
84- - name : merge a feat/ branch but with merge commit bump DISABLED
85- run : |
86- git config user.name "GitHub Actions Bot"
87- git config user.email "<>"
88- git branch feat/no-bump-test
89- git switch feat/no-bump-test
90- touch no-bump-test
91- echo 'no-bump-test' > no-bump-test
92- git add no-bump-test
93- git commit -m "feat: no-bump-test"
94- git checkout main
95- git merge feat/no-bump-test --no-ff --commit --no-edit
96-
97- - name : bump should be patch (1.0.1) NOT minor (1.1.0) because merge bump is disabled
83+ - name : bump should be patch (0.0.3) NOT minor (0.1.0) because merge bump is disabled
9884 id : version_no_merge_bump
9985 run : ./version-bump.sh
10086 env :
10692 if [[ "$version_tag_numeric" == '0.0.3' ]];then
10793 echo "winning"
10894 else
109- echo "Expected 1 .0.1 but got $version_tag_numeric"
95+ echo "Expected 0 .0.3 but got $version_tag_numeric"
11096 exit 1
11197 fi
11298 shell : bash
You can’t perform that action at this time.
0 commit comments