Skip to content

Commit

Permalink
try to fix marketing_build_version and the upload_url
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Voigt committed Feb 20, 2024
1 parent 38116a6 commit fb5318d
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,9 @@ jobs:
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
MARKETING_VERSION: ${{ steps.set_build_number.outputs.marketing_build_version }}
with:
tag_name: v${{ env.MARKETING_VERSION }}
release_name: Release ${{ env.MARKETING_VERSION }}
tag_name: v${{ env.marketing_build_version }}
release_name: Release ${{ env.marketing_build_version }}
body: |
New release of the generated Kotlin client.
draft: false
Expand All @@ -48,7 +47,7 @@ jobs:
env:
MARKETING_VERSION: ${{ steps.set_build_number.outputs.marketing_build_version }}
with:
upload_url: ${{ steps.create-release.outputs.upload_url }}
asset_name: "cumulocity-clients-kotlin-${{ env.MARKETING_VERSION }}.jar"
asset_path: artifacts/cumulocity-clients-kotlin-${{ env.MARKETING_VERSION }}.jar
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_name: "cumulocity-clients-kotlin-${{ env.marketing_build_version }}.jar"
asset_path: artifacts/cumulocity-clients-kotlin-${{ env.marketing_build_version }}.jar
asset_content_type: application/zip

0 comments on commit fb5318d

Please sign in to comment.