From 8332dc25b48d8fbb484f91f5fe434713608fb6c8 Mon Sep 17 00:00:00 2001 From: jamesbeedy Date: Thu, 3 Dec 2020 17:21:37 +0000 Subject: [PATCH] do not use date versions --- .github/workflows/publish_release.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish_release.yaml b/.github/workflows/publish_release.yaml index 77e17a5e..ffbdeebf 100644 --- a/.github/workflows/publish_release.yaml +++ b/.github/workflows/publish_release.yaml @@ -42,7 +42,8 @@ jobs: run: | git fetch --all git checkout master - ./scripts/bump-version.sh '' $(date -d "$(echo $RELEASE_VERSION | sed -e 's/^\([0-9]\{2\}\)\.\([0-9]\{1,2\}\)\.[0-9]\+$/20\1-\2-1/') 1 month" +%y.%-m.0.dev0) + NEXT="$(echo ${RELEASE_VERSION} | awk -F. -v OFS=. '{$NF++;print}')-dev0" + ./scripts/bump-version.sh '' $NEXT git diff --quiet || git commit -anm 'meta: Bump new development version' && git pull --rebase && git push - uses: 8398a7/action-slack@v3