Skip to content

Commit

Permalink
attempt: trigger 0.5.4 release to pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
aMahanna committed Aug 14, 2024
1 parent dc40517 commit 8765e14
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 30 deletions.
45 changes: 18 additions & 27 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,13 @@ on:
jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"] # ["3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
python-version: 3.10

- name: Install dependencies
run: |
Expand All @@ -40,25 +36,21 @@ jobs:
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD_TEST }}
run: twine upload --verbose --repository testpypi dist/*.whl

# - name: Publish to PyPi
# env:
# TWINE_USERNAME: __token__
# TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
# run: twine upload --verbose --repository pypi dist/*.whl
- name: Publish to PyPi
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
run: twine upload --verbose --repository pypi dist/*.whl

build-windows:
runs-on: windows-latest
strategy:
matrix:
python-version: ["3.10"] # ["3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
python-version: 3.10

- name: Install dependencies
run: pip install build maturin twine
Expand All @@ -75,26 +67,25 @@ jobs:
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD_TEST }}
run: twine upload --verbose --repository testpypi dist\*.whl

# - name: Publish to PyPi
# env:
# TWINE_USERNAME: __token__
# TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
# run: twine upload --verbose --repository pypi dist\*.whl
- name: Publish to PyPi
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
run: twine upload --verbose --repository pypi dist\*.whl

build-macos:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, macos-13]
python-version: ["3.10"] # ["3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
python-version: 3.10

- name: Install dependencies
run: |
Expand All @@ -118,8 +109,8 @@ jobs:
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD_TEST }}
run: twine upload --verbose --repository testpypi dist/*.whl

# - name: Publish to PyPi
# env:
# TWINE_USERNAME: __token__
# TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
# run: twine upload --verbose --repository pypi dist/*.whl
- name: Publish to PyPi
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
run: twine upload --verbose --repository pypi dist/*.whl
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "phenolrs"
version = "0.5.3"
version = "0.5.4"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "maturin"

[project]
name = "phenolrs"
version = "0.5.3"
version = "0.5.4"
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Rust",
Expand Down

0 comments on commit 8765e14

Please sign in to comment.