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:
4
.github/workflows/update-version.yml
vendored
4
.github/workflows/update-version.yml
vendored
@@ -81,7 +81,6 @@ 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*//')
|
||||
@@ -92,8 +91,7 @@ jobs:
|
||||
sudo git checkout -f
|
||||
sudo chown -R $USER:$USER .git
|
||||
git pull
|
||||
echo "${NEW_VERSION}"
|
||||
#> VERSION
|
||||
echo "${NEW_VERSION}" > VERSION
|
||||
git config --global user.email "info@armbian.com"
|
||||
git config --global user.name "Armbianworker"
|
||||
git add VERSION
|
||||
|
||||
Reference in New Issue
Block a user