Skip to content

Commit f1b7188

Browse files
committed
Add auto publish to PyPi
1 parent 7001ab9 commit f1b7188

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

.github/workflows/publish-pypi.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Publish python package
2+
on:
3+
push:
4+
tags:
5+
- "*.*.*"
6+
jobs:
7+
build:
8+
runs-on: ubuntu-20.04
9+
steps:
10+
- uses: actions/checkout@v1
11+
- name: Assert tag is from master
12+
run: git branch -a --contains $(git describe --tags) | grep master
13+
- name: Build and publish to pypi
14+
uses: JRubics/[email protected]
15+
with:
16+
pypi_token: ${{ secrets.PYPI_TOKEN }}

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "pybotx-smartapp-smart-logger"
3-
version = "0.2.0"
3+
version = "0.2.1"
44
description = ""
55
authors = ["Arseniy Zhiltsov <[email protected]>"]
66

0 commit comments

Comments
 (0)