mirror of
https://github.com/armbian/scripts.git
synced 2026-01-06 10:32:48 -08:00
Update update-version.yml
This commit is contained in:
1
.github/workflows/update-version.yml
vendored
1
.github/workflows/update-version.yml
vendored
@@ -81,6 +81,7 @@ jobs:
|
||||
git symbolic-ref --short -q HEAD
|
||||
if [[ "$(git symbolic-ref --short -q HEAD)" == nightly ]]; then
|
||||
CURRENT_VERSION=$(cat VERSION)
|
||||
CURRENT_VERSION="22.02.0"
|
||||
NEW_VERSION="${CURRENT_VERSION%%-trunk}"
|
||||
if [[ "$CURRENT_VERSION" == *trunk* ]]; then
|
||||
VALUE=$(echo $NEW_VERSION | cut -d"." -f4 | sed 's/^0*//')
|
||||
|
||||
Reference in New Issue
Block a user