Skip to content

Commit

Permalink
Publish snapshots only
Browse files Browse the repository at this point in the history
  • Loading branch information
platan committed Oct 13, 2023
1 parent 909a0f1 commit e5be7d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ jobs:
uses: gradle/wrapper-validation-action@342dbebe7272035434f9baccc29a816ec6dd2c7b
- name: Get current version
id: current-version
run: |
# $VERSION should contain something like "Project version: 0.4.1-SNAPSHOT"
run: |
VERSION=$(./gradlew currentVersion -q | grep "Project version")
echo "currentVersionInfo=$VERSION" >> "$GITHUB_OUTPUT"
- name: Publish package to GitHub Packages
Expand Down

0 comments on commit e5be7d7

Please sign in to comment.