From 58565c752355fc61391024a70654cf6585788db1 Mon Sep 17 00:00:00 2001 From: Pat Garrity Date: Fri, 22 Mar 2024 22:38:04 -0500 Subject: [PATCH] debugging --- .forgejo/workflows/pull_request.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.forgejo/workflows/pull_request.yaml b/.forgejo/workflows/pull_request.yaml index 8445a88..b395b14 100644 --- a/.forgejo/workflows/pull_request.yaml +++ b/.forgejo/workflows/pull_request.yaml @@ -24,6 +24,7 @@ jobs: pre-commit run --all-files - name: 'Prepare Versioned Build' run: | + latest_git_tag="$(git describe --tags --abbrev=0)" latest_commit_message="$(git show -s --format=%s HEAD)" if [[ "$latest_commit_message" == *"(major)"* ]]; then export GS_RELEASE_TYPE="major" @@ -34,6 +35,7 @@ jobs: else export GS_RELEASE_TYPE="patch" fi + echo "Latest Git Tag: $latest_git_tag" echo "Latest Commit: $latest_commit_message ($GS_RELEASE_TYPE) (SNAPSHOT)" sbtn -Dsnapshot=true -Drelease="$GS_RELEASE_TYPE" semVerInfo - name: 'Unit Tests and Code Coverage'