Fix the push-tag workflow again (#5145)
This commit is contained in:
2
.github/workflows/push-tag.yml
vendored
2
.github/workflows/push-tag.yml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user