fix: changing how the message variable is captured
This commit is contained in:
parent
b97c8d7d35
commit
8633bda6c5
1 changed files with 2 additions and 1 deletions
|
@ -31,7 +31,8 @@ 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)"
|
||||||
echo "::set-output name=message::$(git log --format=%B -n 1 $GITHUB_SHA)"
|
MESSAGE=$(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
|
||||||
|
|
Loading…
Reference in a new issue