(patch) Fixing the automated builds. (#5)
Some checks failed
/ Build and Release Library (push) Failing after 1m7s
Some checks failed
/ Build and Release Library (push) Failing after 1m7s
This commit is contained in:
parent
be74eab804
commit
3988fc99ad
1 changed files with 16 additions and 0 deletions
|
@ -20,6 +20,22 @@ jobs:
|
||||||
pre-commit run --all-files
|
pre-commit run --all-files
|
||||||
- name: 'Unit Tests and Code Coverage'
|
- name: 'Unit Tests and Code Coverage'
|
||||||
run: |
|
run: |
|
||||||
|
latest_commit_message="$(git show -s --format=%s HEAD)"
|
||||||
|
case "$latest_commit_message" in
|
||||||
|
*patch*)
|
||||||
|
export GS_RELEASE_TYPE="patch"
|
||||||
|
;;
|
||||||
|
*minor*)
|
||||||
|
export GS_RELEASE_TYPE="minor"
|
||||||
|
;;
|
||||||
|
*major*)
|
||||||
|
export GS_RELEASE_TYPE="major"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
export GS_RELEASE_TYPE="patch"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
echo "Latest Commit: $latest_commit_message ($GS_RELEASE_TYPE)"
|
||||||
sbtn clean
|
sbtn clean
|
||||||
sbtn coverage
|
sbtn coverage
|
||||||
sbtn test
|
sbtn test
|
||||||
|
|
Loading…
Add table
Reference in a new issue