Skip to content

Commit

Permalink
Publish repository to snapshot if the tag ended with alpha or beta.
Browse files Browse the repository at this point in the history
  • Loading branch information
sunquakes committed May 27, 2023
1 parent b2723e5 commit 09e0aba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/gradle-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
- name: Publish to Maven Central
run: |
if [[ ${{ env.TAG_NAME }} == *"SNAPSHOT" ]]; then
if [[ ${{ env.TAG_NAME }} == *"beta" || ${{ env.TAG_NAME }} == *"alpha" ]]; then
./gradlew publishToMavenSnapShotRepository
else
./gradlew publish
Expand Down

0 comments on commit 09e0aba

Please sign in to comment.