diff --git a/.github/workflows/update-version.yml b/.github/workflows/update-version.yml index 96dc8349..38601353 100644 --- a/.github/workflows/update-version.yml +++ b/.github/workflows/update-version.yml @@ -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