mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2026-01-30 04:10:32 -08:00
Fix: Action - get tagver at shallow clone
This commit is contained in:
parent
faee6bfb95
commit
df577a11fa
1 changed files with 2 additions and 1 deletions
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
|
|
@ -23,8 +23,9 @@ jobs:
|
|||
rm -f LEPTON
|
||||
|
||||
# or BRANCH=$(git rev-parse --abbrev-ref HEAD)
|
||||
# or TAGVER=$(git describe --tags --abbrev=0)
|
||||
BRANCH=${{ matrix.branch }}
|
||||
TAGVER=$(git describe --tags --abbrev=0)
|
||||
TAGVER=${GITHUB_REF#refs/*/}
|
||||
|
||||
echo -e "Ver=${TAGVER}\nBranch=${BRANCH}" > LEPTON
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue