Skip to content

Commit

Permalink
Prepare for publication, try again again
Browse files Browse the repository at this point in the history
  • Loading branch information
serras committed Sep 25, 2022
1 parent 351028b commit 8c5f15e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ jobs:
- name: Publish package
uses: gradle/[email protected]
with:
arguments: -Pversion='${{ github.ref_name }}' publish
arguments: publish
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
RELEASE_TAG: ${{ github.ref_name }}
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ plugins {
}

group = "at.kopyk"
version = "1.0-SNAPSHOT"
version = System.getenv("RELEASE_TAG") ?: "1.0-SNAPSHOT"

0 comments on commit 8c5f15e

Please sign in to comment.