Rename pypi choice
This commit is contained in:
parent
60b237a40e
commit
d0b91ba602
1 changed files with 2 additions and 2 deletions
4
.github/workflows/build_docs.yml
vendored
4
.github/workflows/build_docs.yml
vendored
|
@ -9,7 +9,7 @@ on:
|
|||
type: choice
|
||||
options:
|
||||
- none
|
||||
- PyPI
|
||||
- PyPI (release)
|
||||
- TestPyPI
|
||||
segment:
|
||||
description: Version segment to bump with Hatch
|
||||
|
@ -57,7 +57,7 @@ jobs:
|
|||
- name: Check if this is a release
|
||||
id: check-release
|
||||
run: |
|
||||
release=${{ github.event_name == 'workflow_dispatch' && inputs.publish == 'PyPI' || startsWith(github.ref, 'refs/tags') || startsWith(github.event.head_commit.message, '[Release]') }}
|
||||
release=${{ github.event_name == 'workflow_dispatch' && inputs.publish == 'PyPI (release)' || startsWith(github.ref, 'refs/tags') || startsWith(github.event.head_commit.message, '[Release]') }}
|
||||
echo "release=$release" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Export web book
|
||||
|
|
Loading…
Reference in a new issue