Skip to content

Commit e7f30eb

Browse files
committed
Update README and setup package deployments
Signed-off-by: Vadim Markovtsev <[email protected]>
1 parent 171a799 commit e7f30eb

File tree

3 files changed

+23
-2
lines changed

3 files changed

+23
-2
lines changed

.github/workflows/push.yml

+21
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,24 @@ jobs:
7878
commit_email: [email protected]
7979
login: vmarkovtsev
8080
token: "${{ secrets.BUMP_VERSION_TOKEN }}"
81+
release-package:
82+
if: "contains(github.event.head_commit.message, 'Bump version') && github.ref == 'refs/heads/master'"
83+
name: Release package on PyPI
84+
runs-on: ubuntu-20.04
85+
steps:
86+
- uses: actions/checkout@v2
87+
- name: Install dependencies
88+
run: pip3 install -U setuptools twine wheel auditwheel
89+
- name: Build package
90+
run: |
91+
python3 setup.py bdist_wheel sdist --format=gztar
92+
mv dist/*.whl .
93+
auditwheel repair -w dist *.whl
94+
rm *.whl
95+
ls
96+
ls dist
97+
- name: Publish package to PyPI
98+
uses: pypa/gh-action-pypi-publish@master
99+
with:
100+
user: __token__
101+
password: "${{ secrets.PYPI_API_TOKEN }}"

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Build Status](https://travis-ci.org/src-d/lapjv.svg?branch=master)](https://travis-ci.org/src-d/lapjv) [![PyPI](https://img.shields.io/pypi/v/lapjv.svg)](https://pypi.python.org/pypi/lapjv)
1+
[![Build Status](https://github.com/src-d/lapjv/workflows/Push/badge.svg?branch=master)](https://github.com/src-d/lapjv/actions) [![PyPI](https://img.shields.io/pypi/v/lapjv.svg)](https://pypi.python.org/pypi/lapjv)
22

33
Linear Assignment Problem solver using Jonker-Volgenant algorithm
44
==================================================================
@@ -9,7 +9,7 @@ the original thanks to the optimization of the augmenting row reduction phase
99
using Intel AVX2 intrinsics. It is a native Python 3 module and does
1010
not work with Python 2.x, stick to pyLAPJV otherwise.
1111

12-
[![Blog post](https://blog.sourced.tech/post/lapjv/mapping.png)](https://blog.sourced.tech/post/lapjv/)
12+
[![Blog post](doc/mapping.png)](http://web.archive.org/web/20180611012448/https://blog.sourced.tech/post/lapjv//)
1313

1414
[Linear assignment problem](https://en.wikipedia.org/wiki/Assignment_problem)
1515
is the bijection between two sets with equal cardinality which optimizes the sum

doc/mapping.png

220 KB
Loading

0 commit comments

Comments
 (0)