Skip to content

Commit

Permalink
Tidy CI pipelines and publish on tag (#210)
Browse files Browse the repository at this point in the history
* Tidy CI pipelines and publoish on tag

* Undo

* Undo
  • Loading branch information
inverse authored Nov 1, 2023
1 parent 8e8bcb6 commit e21efbd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
${{ runner.os }}-poetry-
- uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.11'
- name: Install poetry
uses: abatilo/[email protected]
with:
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,17 @@ jobs:
- uses: actions/checkout@master
- uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.11'
- name: Install poetry
uses: abatilo/[email protected]
with:
poetry-version: '1.3.2'
- name: Install pip dependencies
run: poetry install
- name: Package
run: poetry build
run: |
poetry version ${{ github.event.release.tag_name }}
poetry build
- name: Publish to PyPI
uses: pypa/[email protected]
with:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "iolite-client"
version = "0.6.0"
version = "0.0.0"
description = "API client for interacting with IOLite's remote API"
authors = ["Malachi Soord <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit e21efbd

Please sign in to comment.