(patch) I forgot how to BASH. Oops.
All checks were successful
/ Build and Test Library Snapshot (pull_request) Successful in 1m10s

This commit is contained in:
Pat Garrity 2024-03-23 23:00:04 -05:00
parent 7457894c59
commit 5339b31b3a
Signed by: pfm
GPG key ID: 5CA5D21BAB7F3A76
2 changed files with 2 additions and 2 deletions

View file

@ -26,7 +26,7 @@ jobs:
pre-commit run --all-files pre-commit run --all-files
- name: 'Prepare Versioned Build' - name: 'Prepare Versioned Build'
run: | run: |
latest_git_tag="$(git describe --tags --abbrev=0 || 'No Tags')" latest_git_tag="$(git describe --tags --abbrev=0 || echo 'No Tags')"
latest_commit_message="$(git show -s --format=%s HEAD)" latest_commit_message="$(git show -s --format=%s HEAD)"
if [[ "$latest_commit_message" == *"(major)"* ]]; then if [[ "$latest_commit_message" == *"(major)"* ]]; then
export GS_RELEASE_TYPE="major" export GS_RELEASE_TYPE="major"

View file

@ -27,7 +27,7 @@ jobs:
pre-commit run --all-files pre-commit run --all-files
- name: 'Prepare Versioned Build' - name: 'Prepare Versioned Build'
run: | run: |
latest_git_tag="$(git describe --tags --abbrev=0 || 'No Tags')" latest_git_tag="$(git describe --tags --abbrev=0 || echo 'No Tags')"
latest_commit_message="$(git show -s --format=%s HEAD)" latest_commit_message="$(git show -s --format=%s HEAD)"
if [[ "$latest_commit_message" == *"(major)"* ]]; then if [[ "$latest_commit_message" == *"(major)"* ]]; then
export GS_RELEASE_TYPE="major" export GS_RELEASE_TYPE="major"