@@ -28,19 +28,20 @@ jobs:
28
28
uses : actions/checkout@v4
29
29
- name : Create release archive and notes
30
30
run : .github/workflows/create_archive_and_notes.sh
31
- - name : Publish wheel dist
32
- env :
33
- # This special value tells pypi that the user identity is supplied within the token
34
- TWINE_USERNAME : __token__
35
- # Note, the PYPI_API_TOKEN is for the rules-python pypi user, added by @rickylev on
36
- # https://github.com/bazelbuild/rules_python/settings/secrets/actions
37
- TWINE_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
38
- run : bazel run --stamp --embed_label=${{ github.ref_name }} //python/runfiles:wheel.publish
31
+ # # - name: Publish wheel dist
32
+ # # env:
33
+ # # # This special value tells pypi that the user identity is supplied within the token
34
+ # # TWINE_USERNAME: __token__
35
+ # # # Note, the PYPI_API_TOKEN is for the rules-python pypi user, added by @rickylev on
36
+ # # # https://github.com/bazelbuild/rules_python/settings/secrets/actions
37
+ # # TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
38
+ # # run: bazel run --stamp --embed_label=${{ github.ref_name }} //python/runfiles:wheel.publish
39
39
- name : Release
40
40
uses : softprops/action-gh-release@v2
41
41
with :
42
42
# Use GH feature to populate the changelog automatically
43
43
generate_release_notes : true
44
44
body_path : release_notes.txt
45
+ prerelease : ${{ contains(github.ref, "-rc") }}
45
46
fail_on_unmatched_files : true
46
47
files : rules_python-*.tar.gz
0 commit comments