@@ -28,19 +28,20 @@ jobs:
2828 uses : actions/checkout@v4
2929 - name : Create release archive and notes
3030 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
3939 - name : Release
4040 uses : softprops/action-gh-release@v2
4141 with :
4242 # Use GH feature to populate the changelog automatically
4343 generate_release_notes : true
4444 body_path : release_notes.txt
45+ prerelease : ${{ contains(github.ref, '-rc') }}
4546 fail_on_unmatched_files : true
4647 files : rules_python-*.tar.gz
0 commit comments