Skip to content

Commit 6b47baf

Browse files
Auto release to PyPi and prepare to release v0.1.3 (#35)
1 parent de39f87 commit 6b47baf

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

.github/workflows/release.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: release-to-pypi
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
publish-iwf-python-sdk:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
- name: Set up Python
13+
uses: actions/setup-python@v3
14+
with:
15+
python-version: '3.9'
16+
- name: Install Poetry
17+
uses: snok/install-poetry@v1
18+
- name: set tokens
19+
run: poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
20+
- name: build and publish
21+
run: 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 = "iwf-python-sdk"
3-
version = "0.1.2"
3+
version = "0.1.3"
44
description = ""
55
authors = ["Indeed Engineering"]
66
readme = "README.md"

0 commit comments

Comments
 (0)