Rename pypi choice

This commit is contained in:
object-Object 2023-08-31 21:10:37 -04:00
parent 60b237a40e
commit d0b91ba602

View file

@ -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