(patch) I forgot how to BASH. Oops.
All checks were successful
/ Build and Test Library Snapshot (pull_request) Successful in 1m10s
All checks were successful
/ Build and Test Library Snapshot (pull_request) Successful in 1m10s
This commit is contained in:
parent
7457894c59
commit
5339b31b3a
2 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Add table
Reference in a new issue