Compare commits
1 Commits
v0.7.2-77-
...
v0.7.2-nex
Author | SHA1 | Date | |
---|---|---|---|
51c8b5c7b3 |
@@ -1,10 +1,12 @@
|
||||
name: Release Tagging
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- next-v0.8
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
- next-v0.8
|
||||
|
||||
jobs:
|
||||
release:
|
||||
@@ -26,7 +28,7 @@ jobs:
|
||||
run: |
|
||||
VERSION=$(grep '^version = "' Cargo.toml | sed -E 's/version = "([^"]+)"/\1/')
|
||||
PROJECT_COMMIT_HASH=$(git rev-parse HEAD | cut -c 1-10)
|
||||
BRANCH_REF="${GITHUB_REF}"
|
||||
BRANCH_REF="${{ gitea.ref }}"
|
||||
BRANCH_NAME=$(echo "$BRANCH_REF" | cut -d '/' -f 3)
|
||||
PROJECT_TAG_RELEASE="v$VERSION-$BRANCH_NAME-$PROJECT_COMMIT_HASH-111"
|
||||
|
||||
|
Reference in New Issue
Block a user