From 9fdd80776da7f69e94eec589fe183fa7691964b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20Pe=C4=8Dovnik?= Date: Wed, 12 Jan 2022 12:39:52 +0100 Subject: [PATCH] Update update-version.yml --- .github/workflows/update-version.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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