Skip to content

Commit

Permalink
c
Browse files Browse the repository at this point in the history
  • Loading branch information
oliversun9 committed Nov 3, 2023
1 parent e5e8e16 commit 334dada
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release_back_to_dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:

env:
APP_ID: 251311
FULL_VERSION: ${{ github.event.release.tag_name }}

jobs:
post-release:
Expand All @@ -23,14 +24,14 @@ jobs:
fetch-depth: 0
- name: print ref
run: echo "ref is ${{ github.ref_name }}"
- name: print payload
run: ${{ toJSON(github.event) }}
# - name: print payload
# run: ${{ toJSON(github.event) }}
- 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}}
run: make unreleasechangelog VERSION=${{ env.FULL_VERSION }}
- 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 334dada

Please sign in to comment.