From 4243af22aa4c2d7b74ffa9f10fb45f686dd4d0df Mon Sep 17 00:00:00 2001 From: Bernhard Huber Date: Tue, 8 Feb 2022 11:46:03 +0100 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=91=B7=20Changed=20way=20of=20setting?= =?UTF-8?q?=20GitHub=20release=20body?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/Build_Publish.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/Build_Publish.yml b/.github/workflows/Build_Publish.yml index dbb61a8..015103a 100644 --- a/.github/workflows/Build_Publish.yml +++ b/.github/workflows/Build_Publish.yml @@ -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" @@ -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 }} From fb8cffef504a2e43c42103d2db22adc49345a00a Mon Sep 17 00:00:00 2001 From: Bernhard Huber Date: Tue, 8 Feb 2022 13:25:37 +0100 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=91=B7=20Removed=20date=20from=20GitH?= =?UTF-8?q?ub=20release=20title?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/Build_Publish.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/Build_Publish.yml b/.github/workflows/Build_Publish.yml index 015103a..67e8557 100644 --- a/.github/workflows/Build_Publish.yml +++ b/.github/workflows/Build_Publish.yml @@ -122,10 +122,6 @@ jobs: npm publish --access public env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - - name: Get current date - id: get_current_date - run: | - echo "::set-output name=current_date::$(date +'%Y-%m-%d')" - name: Create GitHub release artifact run: | wget --quiet --method GET -O npmPackageData.json "http://registry.npmjs.org/@planbgmbh/flinkey-web-components/${{ env.packageVersion }}" @@ -140,6 +136,6 @@ jobs: with: artifacts: ${{ env.zipName }} body: ${{ env.changelog }} - name: "[${{ env.packageVersion }}] - ${{ steps.get_current_date.outputs.current_date }}" + name: ${{ env.packageVersion }} tag: "v${{ env.packageVersion }}" token: ${{ secrets.GITHUB_TOKEN }}