(patch) Fixing the automated builds.
All checks were successful
/ Build and Test Library Snapshot (pull_request) Successful in 1m8s
All checks were successful
/ Build and Test Library Snapshot (pull_request) Successful in 1m8s
This commit is contained in:
parent
be74eab804
commit
712b0484f5
1 changed files with 17 additions and 0 deletions
|
@ -20,6 +20,23 @@ jobs:
|
|||
pre-commit run --all-files
|
||||
- name: 'Unit Tests and Code Coverage'
|
||||
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"
|
||||
echo "Selected Release Type: '$GS_RELEASE_TYPE'"
|
||||
sbtn clean
|
||||
sbtn coverage
|
||||
sbtn test
|
||||
|
|
Loading…
Add table
Reference in a new issue