Skip to content

Commit

Permalink
correct variable name to get the release name from outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
cbusillo committed Jun 24, 2024
1 parent 1d6d95f commit 3afb42e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/briefcase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ jobs:
- name: Set release name
id: set_release_name
run: |
echo "GITHUB_REF: ${{ github.ref }}"
BRANCH_NAME=$(echo ${GITHUB_REF#refs/heads/} | sed -r 's/(^|-)(\w)/\U\2/g')
echo "Release Name Set To: $BRANCH_NAME"
echo "release_name=$BRANCH_NAME" >> $GITHUB_OUTPUT
- name: Create Release
id: create_release
Expand All @@ -102,7 +104,7 @@ jobs:
draft: false
prerelease: ${{ github.ref == 'refs/heads/prerelease' }}
tag_name: v${{ steps.extract_version.outputs.VERSION }}
name: ${{ steps.set_release_name.release_name }} v${{ steps.extract_version.outputs.VERSION }}
name: ${{ steps.set_release_name.outputs.release_name }} v${{ steps.extract_version.outputs.VERSION }}
files: |
dist/*.zip
dist/*.dmg
Expand Down

0 comments on commit 3afb42e

Please sign in to comment.