From 0df2e9f89fba2f41811081d9f4d0d856be32678f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20Pe=C4=8Dovnik?= Date: Wed, 12 Jan 2022 12:37:52 +0100 Subject: [PATCH] Update update-version.yml --- .github/workflows/update-version.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/update-version.yml b/.github/workflows/update-version.yml index ac85178e..96dc8349 100644 --- a/.github/workflows/update-version.yml +++ b/.github/workflows/update-version.yml @@ -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*//')