Skip to content

Commit

Permalink
Set up PyPI uploads
Browse files Browse the repository at this point in the history
  • Loading branch information
tbttfox committed Nov 9, 2023
1 parent d9a7510 commit 9d354ac
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ jobs:
- name: Build Wheel
run: |
py -3 -m pip install -U pip
py -3 -m pip install -U build wheel hatch
py -3 -m hatch version $(git describe --tags --abbrev=0)
py -3 -m build --wheel
Expand Down Expand Up @@ -284,6 +285,7 @@ jobs:
- name: Build Wheel
run: |
python3 -m pip install -U pip
python3 -m pip install -U build wheel hatch
python3 -m hatch version $(git describe --tags --abbrev=0)
python3 -m build --wheel
Expand Down Expand Up @@ -322,6 +324,7 @@ jobs:
- name: Build Wheel
run: |
python3 -m pip install -U pip
python3 -m pip install -U build wheel hatch
python3 -m hatch version $(git describe --tags --abbrev=0)
python3 -m build --wheel
Expand Down Expand Up @@ -397,3 +400,13 @@ jobs:
files: |
*.zip
*.whl
- name: Publish To PyPI
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python3 -m pip install -U pip
python3 -m pip install -U twine
python3 -m twine upload --verbose *.whl
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[project]
name = "simplexui"
name = "simplex-solver"
dynamic = [
"version"
]
Expand Down
2 changes: 1 addition & 1 deletion simplexui/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

SIMPLEX_UI = None
SIMPLEX_UI_ROOT = None
__version__ = "v0.0.0"
__version__ = "v0.0.1-dev"


def runSimplexUI():
Expand Down

0 comments on commit 9d354ac

Please sign in to comment.