Skip to content

Commit

Permalink
Fix: Try using GITHUB_REF_NAME to remove first char of released tag
Browse files Browse the repository at this point in the history
  • Loading branch information
oluiscabral committed Dec 15, 2024
1 parent ceef135 commit 9cd65f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
- "v[0-9]+.[0-9]+.[0-9]+"

jobs:
release:
Expand Down Expand Up @@ -53,5 +53,5 @@ jobs:
run: gradle publish
working-directory: ./java
env:
RELEASE_VERSION: ${{ github.ref_name[1] }}
RELEASE_VERSION: ${GITHUB_REF_NAME:1}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 9cd65f3

Please sign in to comment.