Skip to content

Commit 9b4db1e

Browse files
committed
Create a GitHub release for each action release
Must make sure this release is not marked as `latest` or else it will interfere with the CLI bundle releases also included in this repo.
1 parent e85017e commit 9b4db1e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/post-release-mergeback.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,3 +150,14 @@ jobs:
150150
--body "${pr_body}" \
151151
--assignee "${GITHUB_ACTOR}" \
152152
--draft
153+
154+
- name: Create the GitHub release
155+
env:
156+
VERSION: "${{ steps.getVersion.outputs.version }}"
157+
run: |
158+
# Do not mark this release as latest. The most recent CLI release must be marked as latest.
159+
gh release create \
160+
"${VERSION}" \
161+
--latest=false \
162+
-t "${VERSION}" \
163+
-F CHANGELOG.md

0 commit comments

Comments
 (0)