Skip to content

Commit

Permalink
Only publish tags with 'v'
Browse files Browse the repository at this point in the history
  • Loading branch information
oxisto authored Jun 26, 2020
1 parent 7b20924 commit fdfa930
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
run: |
export ORG_GRADLE_PROJECT_signingKey=`echo ${{ secrets.GPG_PRIVATE_KEY }} | base64 -d`
./gradlew -Dorg.gradle.internal.publish.checksums.insecure=true --parallel -Pversion=$VERSION build signMavenPublication publish
if: github.ref == 'refs/heads/master'
if: startsWith(github.ref, 'refs/tags/v')
env:
VERSION: ${{ steps.determine_version.outputs.version }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.GPG_PASSWORD }}
Expand Down

0 comments on commit fdfa930

Please sign in to comment.