Skip to content

Commit

Permalink
[CI/CD] fix changelog creation (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxsph authored Nov 1, 2021
1 parent 0ea19c4 commit 219d906
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Get the Tag version
id: get_version
run: echo ::set-output name=version::${GITHUB_REF/refs\/tags\//}
Expand All @@ -24,9 +26,9 @@ jobs:
pullRequests: false
enhancementLabels: ""
issuesLabel: "**Changes:**"
addSections: '{"internal": { "prefix": "**Internal:**", "labels": ["CI/CD"] }}'
addSections: '{"internal":{"prefix":"**Internal:**","labels":["CI/CD","Docker"]}}'
- name: Release
uses: softprops/[email protected]
with:
body: steps.changelog.outputs.changelog
body: ${{ steps.changelog.outputs.changelog }}
prerelease: ${{ startsWith(github.ref, 'refs/tags/v0') || contains(github.ref, fromJson('["beta", "alpha"]')) }}

0 comments on commit 219d906

Please sign in to comment.