Skip to content

Commit

Permalink
print as well
Browse files Browse the repository at this point in the history
  • Loading branch information
oliversun9 committed Nov 3, 2023
1 parent f38391f commit a5a100a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release_back_to_dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ on:
types: [published]

env:
VERSION: ${{ github.event.inputs.version }}
APP_ID: 251311

jobs:
Expand All @@ -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?
Expand Down

0 comments on commit a5a100a

Please sign in to comment.