@@ -37,41 +37,41 @@ jobs:
3737 - name : Create release archive and notes
3838 run : .github/workflows/create_archive_and_notes.sh
3939
40- release :
41- name : Release
42- needs : build
43- runs-on : ubuntu-latest
44- steps :
45- - name : Release
46- uses : softprops/action-gh-release@v2
47- with :
48- # Use GH feature to populate the changelog automatically
49- generate_release_notes : true
50- body_path : release_notes.txt
51- prerelease : ${{ contains(github.ref, '-rc') }}
52- fail_on_unmatched_files : true
53- files : rules_python-*.tar.gz
40+ # # release:
41+ # # name: Release
42+ # # needs: build
43+ # # runs-on: ubuntu-latest
44+ # # steps:
45+ # # - name: Release
46+ # # uses: softprops/action-gh-release@v2
47+ # # with:
48+ # # # Use GH feature to populate the changelog automatically
49+ # # generate_release_notes: true
50+ # # body_path: release_notes.txt
51+ # # prerelease: ${{ contains(github.ref, '-rc') }}
52+ # # fail_on_unmatched_files: true
53+ # # files: rules_python-*.tar.gz
5454
55- publish_bcr :
56- name : Publish to BCR
57- needs : release
58- uses : .github/workflows/publish.yaml
59- with :
60- tag_name : ${{ github.ref_name }}
61- secrets :
62- BCR_PUBLISH_TOKEN : ${{ secrets.BCR_PUBLISH_TOKEN }}
55+ # # publish_bcr:
56+ # # name: Publish to BCR
57+ # # needs: release
58+ # # uses: .github/workflows/publish.yaml
59+ # # with:
60+ # # tag_name: ${{ github.ref_name }}
61+ # # secrets:
62+ # # BCR_PUBLISH_TOKEN: ${{ secrets.BCR_PUBLISH_TOKEN }}
6363
64- publish_pypi :
65- # We just want publish_pypi last, since once uploaded, it can't be changed.
66- name : Publish runfiles to PyPI
67- needs : publish_bcr
68- runs-on : ubuntu-latest
69- steps :
70- - if : github.event_name == 'push' || github.event.inputs.publish_to_pypi
71- env :
72- # This special value tells pypi that the user identity is supplied within the token
73- TWINE_USERNAME : __token__
74- # Note, the PYPI_API_TOKEN is for the rules-python pypi user, added by @rickylev on
75- # https://github.com/bazel-contrib/rules_python/settings/secrets/actions
76- TWINE_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
77- run : bazel run --stamp --embed_label=${{ github.ref_name }} //python/runfiles:wheel.publish
64+ # # publish_pypi:
65+ # # # We just want publish_pypi last, since once uploaded, it can't be changed.
66+ # # name: Publish runfiles to PyPI
67+ # # needs: publish_bcr
68+ # # runs-on: ubuntu-latest
69+ # # steps:
70+ # # - if: github.event_name == 'push' || github.event.inputs.publish_to_pypi
71+ # # env:
72+ # # # This special value tells pypi that the user identity is supplied within the token
73+ # # TWINE_USERNAME: __token__
74+ # # # Note, the PYPI_API_TOKEN is for the rules-python pypi user, added by @rickylev on
75+ # # # https://github.com/bazel-contrib/rules_python/settings/secrets/actions
76+ # # TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
77+ # # run: bazel run --stamp --embed_label=${{ github.ref_name }} //python/runfiles:wheel.publish
0 commit comments