Fix the push-tag workflow again (#5145)

This commit is contained in:
Alex Crichton
2022-10-27 12:01:00 -05:00
committed by GitHub
parent e8f3d03bbe
commit dd3aeeb0d0

View File

@@ -26,7 +26,7 @@ jobs:
git log ${{ github.event.before }}...${{ github.event.after }} | tee main.log git log ${{ github.event.before }}...${{ github.event.after }} | tee main.log
version=$(grep '^version =' Cargo.toml | head -n 1 | sed 's/.*"\(.*\)"/\1/') version=$(grep '^version =' Cargo.toml | head -n 1 | sed 's/.*"\(.*\)"/\1/')
echo "version: $version" echo "version: $version"
echo "version=$VERSION" >> $GITHUB_OUTPUT echo "version=$version" >> $GITHUB_OUTPUT
echo "sha=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT echo "sha=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
if grep -q "automatically-tag-and-release-this-commit" main.log; then if grep -q "automatically-tag-and-release-this-commit" main.log; then
echo push-tag echo push-tag