Skip to content

Commit 42570c1

Browse files
committed
ci: automatically tag contributors in GitHub release notes
1 parent 75b779a commit 42570c1

1 file changed

Lines changed: 6 additions & 9 deletions

File tree

.github/workflows/github_release.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ on:
77
- "v2.[0-9]+.[0-9]+*"
88
# Ignore release versions tagged with -rc0 suffix
99
- "!v2.[0-9]+.[0-9]-rc0"
10-
11-
pull_request:
1210
jobs:
1311
generate-notes:
1412
runs-on: ubuntu-latest
@@ -74,8 +72,7 @@ jobs:
7472
env:
7573
GH_TOKEN: ${{ github.token }}
7674
START: v${{ steps.version.outputs.current_release }}-rc0
77-
# END: ${{ github.ref_name }}
78-
END: v2.20.0-rc1
75+
END: ${{ github.ref_name }}
7976
run: |
8077
JQ_EXPR='[.commits[].author.login]
8178
| map(select(. != null and . != "HaystackBot" and . != "dependabot[bot]"))
@@ -97,8 +94,8 @@ jobs:
9794
run: |
9895
cat enhanced_relnotes.md
9996
100-
# - uses: ncipollo/release-action@v1
101-
# with:
102-
# bodyFile: "enhanced_relnotes.md"
103-
# prerelease: ${{ steps.version.outputs.current_pre_release != '' }}
104-
# allowUpdates: true
97+
- uses: ncipollo/release-action@v1
98+
with:
99+
bodyFile: "enhanced_relnotes.md"
100+
prerelease: ${{ steps.version.outputs.current_pre_release != '' }}
101+
allowUpdates: true

0 commit comments

Comments
 (0)