Skip to content

Commit

Permalink
👷 Changed way of setting GitHub release body
Browse files Browse the repository at this point in the history
  • Loading branch information
BHuber-PlanB committed Feb 8, 2022
1 parent f80bcbc commit 4243af2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/Build_Publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,6 @@ jobs:
echo "::set-output name=current_date::$(date +'%Y-%m-%d')"
- name: Create GitHub release artifact
run: |
touch CHANGELOG.md
echo "${{ env.changelog }}" >> CHANGELOG.md
wget --quiet --method GET -O npmPackageData.json "http://registry.npmjs.org/@planbgmbh/flinkey-web-components/${{ env.packageVersion }}"
tarballUrl=$( jq -r '.dist.tarball' npmPackageData.json )
wget --quiet --method GET -O npmPackage.tgz "$tarballUrl"
Expand All @@ -141,7 +139,7 @@ jobs:
uses: ncipollo/release-action@v1
with:
artifacts: ${{ env.zipName }}
bodyFile: "CHANGELOG.md"
body: ${{ env.changelog }}
name: "[${{ env.packageVersion }}] - ${{ steps.get_current_date.outputs.current_date }}"
tag: "v${{ env.packageVersion }}"
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 4243af2

Please sign in to comment.