We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40c2053 commit 2ea49a8Copy full SHA for 2ea49a8
1 file changed
.github/workflows/release.yml
@@ -21,11 +21,17 @@ on:
21
- "*.*.*"
22
workflow_dispatch:
23
inputs:
24
+ tag_name:
25
+ required: true
26
+ type: string
27
publish_to_pypi:
28
description: 'Publish to PyPI'
29
required: true
30
type: boolean
31
default: true
32
+ secrets:
33
+ publish_token:
34
35
36
jobs:
37
release:
@@ -45,13 +51,13 @@ jobs:
45
51
prerelease: ${{ contains(github.ref, '-rc') }}
46
52
fail_on_unmatched_files: true
47
53
files: rules_python-*.tar.gz
48
- tag_name: 1.0.0 # TODO remove
54
+ tag_name: ${{ inputs.tag_name || github.ref_name }}
49
55
50
56
publish:
57
needs: release
58
uses: ./.github/workflows/publish.yml
59
with:
- tag_name: ${{ github.ref_name }}
60
61
secrets:
62
BCR_PUBLISH_TOKEN: ${{ secrets.BCR_PUBLISH_TOKEN }}
63
0 commit comments