From 47f8e830703324c6fa8cb99d32d379e0a5ab71d9 Mon Sep 17 00:00:00 2001 From: psuzn Date: Thu, 21 Dec 2023 14:06:26 +0545 Subject: [PATCH 1/2] fix release workflow --- .github/workflows/release.yaml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6183db3..7b5b412 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -32,7 +32,7 @@ jobs: cache: gradle - name: Setup Gradle - uses: gradle/gradle-build-action@2.11.1 + uses: gradle/gradle-build-action@v2.11.1 - name: Checkout Gradle Build Cache uses: actions/cache@v3 @@ -52,26 +52,23 @@ jobs: echo "VERSION_NAME=$VERSION_NAME" >> $GITHUB_OUTPUT - name: Prepare environment - env: - GPG_KEY_CONTENTS: ${{ secrets.GPG_KEY_CONTENTS }} - SIGNING_SECRET_KEY_RING_FILE: ${{ secrets.SIGNING_SECRET_KEY_RING_FILE }} - run: echo '$GPG_KEY_CONTENTS' | base64 -d > '$SIGNING_SECRET_KEY_RING_FILE' + run: echo '${{ secrets.GPG_KEY_CONTENTS }}' | base64 -d > '${{ secrets.SIGNING_SECRET_KEY_RING_FILE }}' - name: Release Artifacts run: | ./gradlew publishAllPublicationsToMavenCentralRepository \ -PVERSION_NAME=${{ steps.extract_version_name.outputs.VERSION_NAME }} \ - -PossrhUsername=${{ secrets.OSSRH_USERNAME }} \ - -PossrhPassword=${{ secrets.OSSRH_PASSWORD }} \ + -PmavenCentralUsername=${{ secrets.OSSRH_USERNAME }} \ + -PmavenCentralPassword=${{ secrets.OSSRH_PASSWORD }} \ -Psigning.keyId=${{ secrets.SIGNING_KEY_ID }} \ -Psigning.password=${{ secrets.SIGNING_KEY_PASSWORD }} \ - -Psigning.secretKeyRingFile=${{ secrets.SIGNING_SECRET_KEY_RING_FILE }} + -Psigning.secretKeyRingFile=$(pwd)/${{ secrets.SIGNING_SECRET_KEY_RING_FILE }} github_release: needs: [ release_artifacts ] name: Create Release runs-on: ubuntu-latest - if: ${{ !endsWith(needs.release_artifacts.outputs.VERSION_NAME,"SNAPSHOT") }} + if: ${{ !endsWith(needs.release_artifacts.outputs.VERSION_NAME,'SNAPSHOT') }} steps: - uses: actions/checkout@v3 From 36e198cffc2bf80d2dcccb4c2c69f20a3b622dc1 Mon Sep 17 00:00:00 2001 From: psuzn Date: Thu, 21 Dec 2023 17:36:07 +0545 Subject: [PATCH 2/2] [release] v0.1.0 --- CHANGELOG.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 76bce37..69ba08e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,21 @@ -# Change log +# Changelog + +All notable changes to this project will be documented in this file. ## [Unreleased] -## [0.0.1-SNAPSHOT] - 2023-12-19 +### Added + +### Changed + +### Deprecated + +### Removed + +### Fixed + +### Security + +## [0.1.0] - 2023-12-21 Initial Cut (Get it?).