mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-23 20:22:51 +01:00
v must be first in the tag, document the version
This commit is contained in:
parent
2f3dafe711
commit
03bff3dd80
1 changed files with 5 additions and 1 deletions
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
@ -595,7 +595,11 @@ jobs:
|
|||
run: |
|
||||
langs=( en ru )
|
||||
devver=dev
|
||||
stable=$(git tag | grep v | grep -v "-" | tail -n 1 | cut -c2-4)
|
||||
# Query git for tagged releases, all releases start with "v"
|
||||
# followed by MAJOR.MINOR.PATCH, see semver.org
|
||||
# Then remove all pre-releases/tags with hyphens (-).
|
||||
# The latest release is last, finally trim "v" and PATCH
|
||||
stable=$(git tag | grep "^v" | grep -v "-" | tail -n 1 | cut -c2-4)
|
||||
vers=( 0.5.x 0.4.x )
|
||||
|
||||
# Create directories
|
||||
|
|
Loading…
Reference in a new issue