Skip to content

Commit

Permalink
fix(ci): print current version before publish
Browse files Browse the repository at this point in the history
  • Loading branch information
lburgazzoli committed Jun 30, 2023
1 parent ca95a0a commit 3fd947f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,12 @@ jobs:
./gradlew spotlessCheck
./gradlew test
./gradlew currentVersion
- name: Snapshot Project
if: github.event_name != 'schedule'
env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
run: |
export TC_USER="$(id -u):$(id -g)"
echo "tc user -> $TC_USER"
./gradlew currentVersion
./gradlew publishToSonatype -Prelease.forceSnapshot

0 comments on commit 3fd947f

Please sign in to comment.