Skip to content

Commit

Permalink
Fix tag to version conversion (#22)
Browse files Browse the repository at this point in the history
Signed-off-by: conanoc <[email protected]>
  • Loading branch information
conanoc authored Feb 22, 2024
1 parent e767c04 commit 68dc86e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Publish
run: ./gradlew publishAllPublicationsToGithubRepository
env:
VERSION: ${{ github.ref }}
VERSION: ${{ github.ref_name }}
- name: Create Release
id: create_release
uses: softprops/action-gh-release@v1
Expand Down
2 changes: 2 additions & 0 deletions ariesframework/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ if (secretPropsFile.exists()) {
ext["version"] = System.getenv("VERSION")
}

ext["version"] = ext["version"]?.replaceFirst("v", "")

def getExtraString(name) {
return ext[name] ?: ""
}
Expand Down

0 comments on commit 68dc86e

Please sign in to comment.