Skip to content

Commit d1ea8db

Browse files
committed
Update package version and Poetry-based publishing workflow
- Bump version to 0.4.0 in pyproject.toml - Modify GitHub Actions workflow to use Poetry for package building and publishing - Replace manual pip build process with Poetry build commands - Streamline package installation and build steps
1 parent dc75082 commit d1ea8db

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.github/workflows/python-publish.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,14 @@ jobs:
2626
uses: actions/setup-python@v3
2727
with:
2828
python-version: '3.x'
29-
- name: Install dependencies
29+
- name: Install Poetry
3030
run: |
31-
python -m pip install --upgrade pip
32-
pip install build
33-
- name: Build package
34-
run: python -m build
31+
curl -sSL https://install.python-poetry.org | python -
32+
export PATH="$HOME/.local/bin:$PATH"
33+
- name: Install dependencies with Poetry
34+
run: poetry install --no-root
35+
- name: Build package with Poetry
36+
run: poetry build
3537
- name: Publish package
3638
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
3739
with:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "vcon"
3-
version = "0.3.10"
3+
version = "0.4.0"
44
description = "The vCon library"
55
authors = ["Thomas McCarthy-Howe <ghostofbasho@gmail.com>"]
66
license = "MIT"

0 commit comments

Comments
 (0)