Skip to content

Commit 2d64228

Browse files
authored
Use GitHub CLI in publish workflow. (#753)
1 parent 2252f17 commit 2d64228

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/release.yml

+4-10
Original file line numberDiff line numberDiff line change
@@ -107,19 +107,13 @@ jobs:
107107
id: preflight
108108
run: ./.github/scripts/publish_preflight_check.sh
109109

110-
# We pull this action from a custom fork of a contributor until
111-
# https://github.com/actions/create-release/pull/32 is merged. Also note that v1 of
112-
# this action does not support the "body" parameter.
110+
# See: https://cli.github.com/manual/gh_release_create
113111
- name: Create release tag
114-
uses: fleskesvor/create-release@1a72e235c178bf2ae6c51a8ae36febc24568c5fe
115112
env:
116113
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
117-
with:
118-
tag_name: ${{ steps.preflight.outputs.version }}
119-
release_name: Firebase Admin Python SDK ${{ steps.preflight.outputs.version }}
120-
body: ${{ steps.preflight.outputs.changelog }}
121-
draft: false
122-
prerelease: false
114+
run: gh release create ${{ steps.preflight.outputs.version }}
115+
--title "Firebase Admin Python SDK ${{ steps.preflight.outputs.version }}"
116+
--notes "${{ steps.preflight.outputs.changelog }}"
123117

124118
- name: Publish to Pypi
125119
uses: pypa/[email protected]

0 commit comments

Comments
 (0)