Updated tag release workflow
All checks were successful
Release Tagging / release (push) Successful in 29s
All checks were successful
Release Tagging / release (push) Successful in 29s
This commit is contained in:
@@ -28,5 +28,9 @@ jobs:
|
||||
id: version
|
||||
run: |
|
||||
VERSION=$(grep '^version = "' Cargo.toml | sed -E 's/version = "([^"]+)"/\1/')
|
||||
echo "::set-output name=version::$VERSION"
|
||||
echo "tag: $TAG"
|
||||
PROJECT_COMMIT_HASH=$(git rev-parse HEAD | cut -c 1-10)
|
||||
BRANCH_REF="${GITHUB_REF}"
|
||||
BRANCH_NAME=$(echo "$BRANCH_REF" | cut -d '/' -f 3)
|
||||
echo "Version: $VERSION"
|
||||
echo "Hash: $PROJECT_COMMIT_HASH"
|
||||
echo "Branch: $BRANCH_NAME"
|
||||
|
Reference in New Issue
Block a user