Skip to content

Commit 1ba3d3d

Browse files
committed
chore: auto compute prelease setting
1 parent 4e60d07 commit 1ba3d3d

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy