Skip to content

Commit 005b1af

Browse files
authored
v1.0.0
version 1.0.0
2 parents c78abcb + 841d4fb commit 005b1af

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

.github/workflows/pypi.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Publish package to PyPI
2+
on:
3+
push:
4+
tags:
5+
- 'v*'
6+
jobs:
7+
build-n-publish:
8+
name: Build and publish package to PyPI
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: Set up Python
13+
uses: actions/setup-python@v1
14+
with:
15+
python-version: "3.9"
16+
- name: Install poetry
17+
run: |
18+
curl -fsS -o get-poetry.py https://install.python-poetry.org
19+
python get-poetry.py -y
20+
- name: Publish
21+
env:
22+
PYPI_TOKEN: ${{ secrets.pypi_password }}
23+
run: |
24+
$HOME/.local/bin/poetry config pypi-token.pypi $PYPI_TOKEN
25+
$HOME/.local/bin/poetry build -f sdist
26+
$HOME/.local/bin/poetry publish

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 = "pyobs-flipro"
3-
version = "0.20.0"
3+
version = "1.0.0"
44
description = "pyobs module for FLIPRO cameras"
55
authors = ["Tim-Oliver Husser <[email protected]>"]
66
license = "MIT"

0 commit comments

Comments
 (0)