From 697a345ed5b3c5a77befa07eae367702e9870f8e Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Fri, 29 Mar 2024 08:24:24 -0400 Subject: [PATCH] fix: fixed autotagger --- .forgejo/workflows/autotagger.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.forgejo/workflows/autotagger.yaml b/.forgejo/workflows/autotagger.yaml index 39aeb03..a563cd3 100644 --- a/.forgejo/workflows/autotagger.yaml +++ b/.forgejo/workflows/autotagger.yaml @@ -31,7 +31,6 @@ jobs: git fetch --tags echo "::set-output name=latest_tag::$(git describe --tags `git rev-list --tags --max-count=1`)" echo "::set-output name=version::$(awk -F '=' '/^ *version/ {gsub(/[[:space:]"]/, "", $2); print $2}' pyproject.toml)" - echo "::set-output name=message::"$(git log --format=%B -n 1 $GITHUB_SHA)"" - name: Compare version and latest tag id: compare @@ -54,8 +53,6 @@ jobs: - name: Update latest tag if: steps.compare.outputs.latest_tag run: | - MESSAGE=${{ steps.vars.outputs.message }} LATEST_TAG=${{ steps.compare.outputs.latest_tag }} - echo "$MESSAGE" - git tag -fs $LATEST_TAG -m "$MESSAGE" + git tag -fs $LATEST_TAG -m $LATEST_TAG git push origin $LATEST_TAG --force