fix: fixed the autotagger message variable causing errors
Some checks failed
Autotagger / Autotagger (push) Failing after 7s
Actions / Lint Code (Ruff & Pylint) (push) Successful in 21s
Actions / Build Documentation (MkDocs) (push) Successful in 19s

This commit is contained in:
Seaswimmer 2024-03-29 08:22:43 -04:00
parent 8633bda6c5
commit 2b64a45395
Signed by: cswimr
GPG key ID: B8953EC01E5C4063

View file

@ -31,8 +31,7 @@ jobs:
git fetch --tags git fetch --tags
echo "::set-output name=latest_tag::$(git describe --tags `git rev-list --tags --max-count=1`)" 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=version::$(awk -F '=' '/^ *version/ {gsub(/[[:space:]"]/, "", $2); print $2}' pyproject.toml)"
MESSAGE=$(git log --format=%B -n 1 $GITHUB_SHA) echo "::set-output name=message::$(echo "$(git log --format=%B -n 1 $GITHUB_SHA)")"
echo "::set-output name=message::$MESSAGE"
- name: Compare version and latest tag - name: Compare version and latest tag
id: compare id: compare