Skip to content

Commit 0c836a8

Browse files
committed
fix: Fix the tag name for the creating release (#24)
Signed-off-by: vahid torkaman <[email protected]>
1 parent fad1fc4 commit 0c836a8

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

.github/workflows/release_please.yaml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -48,25 +48,14 @@ jobs:
4848
OF_KOTLIN_RELEASE_VERSION: ${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }}
4949
run: bash ./gradlew :openfeature:assemble
5050

51-
- name: Create Release ✅
52-
if: ${{ steps.release.outputs.releases_created }}
53-
id: create_release
54-
uses: actions/create-release@v1
55-
env:
56-
OF_KOTLIN_RELEASE_VERSION: ${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }}
57-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
58-
tag_name: ${{ env.OF_KOTLIN_RELEASE_VERSION }}
59-
release_name: ${{ env.OF_KOTLIN_RELEASE_VERSION }}
60-
draft: false
61-
prerelease: false
6251

6352
- name: Upload Openfeature SDK AAR 🗳
6453
if: ${{ steps.release.outputs.releases_created }}
6554
uses: actions/upload-release-asset@v1
6655
env:
6756
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6857
with:
69-
upload_url: ${{ steps.create_release.outputs.upload_url }}
58+
upload_url: ${{ steps.release.outputs.upload_url }}
7059
asset_path: OpenFeature/build/outputs/aar/OpenFeature-release.aar
7160
asset_name: openfeature-sdk.aar
7261
asset_content_type: application/aar

0 commit comments

Comments
 (0)