Skip to content

Commit

Permalink
use github.ref_name
Browse files Browse the repository at this point in the history
  • Loading branch information
EgorPopelyaev committed Apr 17, 2024
1 parent f411dd9 commit 64eac23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-30_publish_release_draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
export REF1=$(get_latest_release_tag)
if [[ -z "${{ inputs.version }}" ]]; then
export REF2="${{ github.ref }}"
export REF2="${{ github.ref_name }}"
else
export REF2="${{ inputs.version }}"
fi
Expand Down Expand Up @@ -156,5 +156,5 @@ jobs:
access_token: ${{ secrets.RELEASENOTES_MATRIX_V2_ACCESS_TOKEN }}
server: m.parity.io
message: |
**New version of polkadot tagged**: ${{ github.ref }}<br/>
**New version of polkadot tagged**: ${{ github.ref_name }}<br/>
Draft release created: ${{ needs.publish-release-draft.outputs.release_url }}

0 comments on commit 64eac23

Please sign in to comment.