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:
2
.github/workflows/update-version.yml
vendored
2
.github/workflows/update-version.yml
vendored
@@ -83,7 +83,7 @@ jobs:
|
||||
CURRENT_VERSION=$(cat VERSION)
|
||||
NEW_VERSION="${CURRENT_VERSION%%-trunk}"
|
||||
if [[ "$CURRENT_VERSION" == *trunk* ]]; then
|
||||
NEW_VERSION=$(echo "${CURRENT_VERSION}" | cut -d. -f1-3)"."$(printf "%04d\n" $(("${NEW_VERSION##*.}" + 1)))
|
||||
NEW_VERSION=$(echo "${CURRENT_VERSION}" | cut -d. -f1-3)"."$(printf "%04d\n" $(("#${NEW_VERSION##*.}" + 1)))
|
||||
else
|
||||
echo "test"
|
||||
#NEW_VERSION=$(echo "${CURRENT_VERSION}" | cut -d. -f1-2)"."$((${NEW_VERSION##*.} + 1))
|
||||
|
||||
Reference in New Issue
Block a user