Skip to content

Commit

Permalink
minor cleanup of the release pipeline script
Browse files Browse the repository at this point in the history
  • Loading branch information
zmarkan committed Jun 5, 2024
1 parent 2b5c21a commit 3c02cf7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/gradle-publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ jobs:

- name: Define library version env var at run-time - RELEASE
run: |
echo 'export ORG_GRADLE_PROJECT_LIBRARY_VERSION=${{ github.event.release.tag_name }}' >> $GITHUB_ENV
source $GITHUB_ENV
echo 'ORG_GRADLE_PROJECT_LIBRARY_VERSION=${{ github.event.release.tag_name }}' >> $GITHUB_ENV
- name: Publish to Maven Central
env:
Expand All @@ -41,4 +40,4 @@ jobs:
ORG_GRADLE_PROJECT_GPG_SIGNING_IN_MEMORY_KEY: ${{ secrets.ORG_GRADLE_PROJECT_GPG_SIGNING_IN_MEMORY_KEY }}
ORG_GRADLE_PROJECT_GPG_SIGNING_IN_MEMORY_KEY_PWD: ${{ secrets.ORG_GRADLE_PROJECT_GPG_SIGNING_IN_MEMORY_KEY_PWD }}
run: |
./gradlew assemble publish
./gradlew publish

0 comments on commit 3c02cf7

Please sign in to comment.