Skip to content

Commit

Permalink
Fix auto version increment
Browse files Browse the repository at this point in the history
  • Loading branch information
tschuchortdev committed May 26, 2024
1 parent 68d0932 commit 2b149d9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ jobs:
# https://stackoverflow.com/questions/57921325/gradle-signarchives-unable-to-read-secret-key
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SONATYPE_SIGNING_KEY_PASSWORD }}
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SONATYPE_SIGNING_PRIVATE_KEY }}
GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
permissions:
contents: write
steps:
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -133,4 +135,4 @@ jobs:
./gradlew setSnapshotVersionSuffix --info
git add gradle.properties
git commit -m "Setting next snapshot version [skip ci]"
git push https://x-access-token:${GH_PERSONAL_ACCESS_TOKEN}@github.com/${GITHUB_REPOSITORY}.git --follow-tags
git push https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git --follow-tags

0 comments on commit 2b149d9

Please sign in to comment.