Skip to content

Commit

Permalink
Update create release workflow to have cleaner version names
Browse files Browse the repository at this point in the history
  • Loading branch information
lipemat committed Feb 21, 2024
1 parent 772f4cf commit 4c8c1f3
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# @notice You must enable write permissions for this action to work.
# @see /settings/actions in your repo.
name: Create GitHub Release
run-name: Create release for ${{ github.ref }} on GitHub.
run-name: Create release for ${{ github.ref_name }} on GitHub.
env:
VERSION: 2.0.0
VERSION: 2.0.3

on:
push:
Expand All @@ -12,14 +12,12 @@ on:

jobs:
create-release:
name: Create release for ${{ github.ref }}
name: Create release for ${{ github.ref_name }}
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Create Release
uses: softprops/action-gh-release@v1
with:
name: Version ${{ github.ref }}
name: Version ${{ github.ref_name }}
draft: false
prerelease: false

0 comments on commit 4c8c1f3

Please sign in to comment.