Skip to content

Commit

Permalink
fix(ci): Fix the tag name for the creating release (#24)
Browse files Browse the repository at this point in the history
Signed-off-by: vahid torkaman <[email protected]>
  • Loading branch information
vahidlazio committed Aug 18, 2023
1 parent fad1fc4 commit 7a3b7b5
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/release_please.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,25 +48,14 @@ jobs:
OF_KOTLIN_RELEASE_VERSION: ${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }}
run: bash ./gradlew :openfeature:assemble

- name: Create Release ✅
if: ${{ steps.release.outputs.releases_created }}
id: create_release
uses: actions/create-release@v1
env:
OF_KOTLIN_RELEASE_VERSION: ${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
tag_name: ${{ env.OF_KOTLIN_RELEASE_VERSION }}
release_name: ${{ env.OF_KOTLIN_RELEASE_VERSION }}
draft: false
prerelease: false

- name: Upload Openfeature SDK AAR 🗳
if: ${{ steps.release.outputs.releases_created }}
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
upload_url: ${{ steps.release.outputs.upload_url }}
asset_path: OpenFeature/build/outputs/aar/OpenFeature-release.aar
asset_name: openfeature-sdk.aar
asset_content_type: application/aar

0 comments on commit 7a3b7b5

Please sign in to comment.