Skip to content

Commit ececc92

Browse files
committed
ci(release): Designate automated releases as pre-releases; Update release notes accordingly.
1 parent 0088368 commit ececc92

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/release.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,15 +87,17 @@ jobs:
8787
with:
8888
name: "${{env.G_RELEASE_ARTIFACT_NAME}}"
8989

90-
- name: "Create GitHub Release with automatically generated release notes"
90+
- name: "Create GitHub pre-release"
9191
env:
9292
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
9393
run: |
9494
gh release create "v${{needs.build.outputs.VERSION}}" \
9595
"${{needs.build.outputs.DIST_TAR_NAME}}" \
9696
--fail-on-no-commits \
97-
--generate-notes \
98-
--title "v${{needs.build.outputs.VERSION}}"
97+
--prerelease \
98+
--title "v${{needs.build.outputs.VERSION}}" \
99+
--notes "This is a pre-release and is not recommended for production. Click \
100+
[here](https://github.com/y-scope/yscope-log-viewer/releases?q=prerelease%3Afalse) to view all releases."
99101
100102
deploy:
101103
needs: "release"

0 commit comments

Comments
 (0)