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"