Skip to content

Commit eda3b3c

Browse files
committed
Update pyproject for publishing
1 parent c38e7db commit eda3b3c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/python-app.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Python application
55

66
on:
77
push:
8-
branches: [ add-white-border ]
8+
branches: [ master ]
99
pull_request:
1010
branches: [ master ]
1111

.github/workflows/python-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ jobs:
1717
- name: Set up Python
1818
uses: actions/setup-python@v2
1919
with:
20-
python-version: '3.x'
20+
python-version: '3.12'
2121
- name: Install dependencies
2222
run: |
2323
python -m pip install --upgrade pip
24-
pip install poetry
24+
pip install poetry==1.8.4
2525
- name: Set Release Version
2626
id: vars
2727
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
@@ -30,5 +30,5 @@ jobs:
3030
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
3131
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
3232
run: |
33-
sed -i 's/PLACE_HOLDER_VERSION/${{ env.RELEASE_VERSION }}/' pyproject.toml
33+
sed -i 's/0.0.0/${{ env.RELEASE_VERSION }}/' pyproject.toml
3434
poetry publish --build

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 = "pymarker"
3-
version = "0.4.0"
3+
version = "0.0.0"
44
description = "A python package to generate AR markers and patterns based on input images"
55
authors = ["Pablo Silva <[email protected]>"]
66
readme = "README.md"

0 commit comments

Comments
 (0)