Skip to content

Commit

Permalink
chore: Update automated-release.yml workflow to set RELEASE_VERSION d…
Browse files Browse the repository at this point in the history
…ynamically
  • Loading branch information
chadhutchins182 committed Aug 2, 2024
1 parent cc25209 commit 894a9ac
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/automated-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ jobs:
fetch-depth: 0

- name: Set RELEASE_VERSION
id: release_version
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV

- name: Test RELEASE_VERSION
run: |
echo $RELEASE_VERSION
echo Release ${{ steps.release_version.outputs.RELEASE_VERSION }}
- name: Use Node.js
uses: actions/setup-node@v3
Expand Down Expand Up @@ -59,7 +60,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: $RELEASE_VERSION
tag_name: ${{ steps.release_version.outputs.RELEASE_VERSION }}
body: ${{ steps.github_release.outputs.changelog }}
name: Release $RELEASE_VERSION
name: Release ${{ steps.release_version.outputs.RELEASE_VERSION }}
make_latest: true

0 comments on commit 894a9ac

Please sign in to comment.