From a5a100ae3f8c0a4ecd81544a6aef6da8a2adbdf0 Mon Sep 17 00:00:00 2001 From: Oliver Sun Date: Fri, 3 Nov 2023 11:14:06 -0400 Subject: [PATCH] print as well --- .github/workflows/release_back_to_dev.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release_back_to_dev.yaml b/.github/workflows/release_back_to_dev.yaml index c30b53bafe..31295b2071 100644 --- a/.github/workflows/release_back_to_dev.yaml +++ b/.github/workflows/release_back_to_dev.yaml @@ -9,7 +9,6 @@ on: types: [published] env: - VERSION: ${{ github.event.inputs.version }} APP_ID: 251311 jobs: @@ -22,10 +21,14 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 + - name: print ref + run: echo "ref is ${{ github.ref_name }}" - name: Set NEXT VERSION variable from tag run: | NEXT_VERSION=$(echo ${{github.ref_name}} | awk -F. -v OFS=. '{$NF += 1 ; print}') echo "NEXT_VERSION=${NEXT_VERSION:1}-dev" >> $GITHUB_ENV + - name: Set + run: make unreleasechangelog VERSION=${{github.ref_name}} - name: update version run: make updateversion VERSION=${{env.NEXT_VERSION}} # update homebrew badge is skipped here, should it be?