-
Notifications
You must be signed in to change notification settings - Fork 323
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use GitHub CLI in publish workflow. (#753)
- Loading branch information
1 parent
2252f17
commit 2d64228
Showing
1 changed file
with
4 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -107,19 +107,13 @@ jobs: | |
id: preflight | ||
run: ./.github/scripts/publish_preflight_check.sh | ||
|
||
# We pull this action from a custom fork of a contributor until | ||
# https://github.com/actions/create-release/pull/32 is merged. Also note that v1 of | ||
# this action does not support the "body" parameter. | ||
# See: https://cli.github.com/manual/gh_release_create | ||
- name: Create release tag | ||
uses: fleskesvor/create-release@1a72e235c178bf2ae6c51a8ae36febc24568c5fe | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: ${{ steps.preflight.outputs.version }} | ||
release_name: Firebase Admin Python SDK ${{ steps.preflight.outputs.version }} | ||
body: ${{ steps.preflight.outputs.changelog }} | ||
draft: false | ||
prerelease: false | ||
run: gh release create ${{ steps.preflight.outputs.version }} | ||
--title "Firebase Admin Python SDK ${{ steps.preflight.outputs.version }}" | ||
--notes "${{ steps.preflight.outputs.changelog }}" | ||
|
||
- name: Publish to Pypi | ||
uses: pypa/[email protected] | ||
|