From 5339b31b3a355300738f73d15a497667083bac72 Mon Sep 17 00:00:00 2001 From: Pat Garrity Date: Sat, 23 Mar 2024 23:00:04 -0500 Subject: [PATCH] (patch) I forgot how to BASH. Oops. --- .forgejo/workflows/pull_request.yaml | 2 +- .forgejo/workflows/release.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/pull_request.yaml b/.forgejo/workflows/pull_request.yaml index cb32ce6..8ca9d2b 100644 --- a/.forgejo/workflows/pull_request.yaml +++ b/.forgejo/workflows/pull_request.yaml @@ -26,7 +26,7 @@ jobs: pre-commit run --all-files - name: 'Prepare Versioned Build' 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)" if [[ "$latest_commit_message" == *"(major)"* ]]; then export GS_RELEASE_TYPE="major" diff --git a/.forgejo/workflows/release.yaml b/.forgejo/workflows/release.yaml index 09d91fb..ecbd203 100644 --- a/.forgejo/workflows/release.yaml +++ b/.forgejo/workflows/release.yaml @@ -27,7 +27,7 @@ jobs: pre-commit run --all-files - name: 'Prepare Versioned Build' 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)" if [[ "$latest_commit_message" == *"(major)"* ]]; then export GS_RELEASE_TYPE="major"