Skip to content

Commit

Permalink
Publish to pip on tagged versions of main. (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
harrykeightley authored Sep 20, 2023
1 parent 86c500b commit fa0fab7
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Python package
on:
push:
branches:
- main
tags:
- "v*.*.*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build and publish to pypi
uses: JRubics/[email protected]
with:
python_version: "3.10"
poetry_version: "==1.2.2"
pypi_token: ${{ secrets.PYPI_TOKEN }}
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "elpis"
version = "0.1.6"
version = "0.1.7"
description = """\
A library to perform automatic speech recognition with huggingface transformers.\
"""
Expand Down

0 comments on commit fa0fab7

Please sign in to comment.