File tree Expand file tree Collapse file tree 3 files changed +52
-1
lines changed
Expand file tree Collapse file tree 3 files changed +52
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Publish Python 🐍 distributions 📦 to PyPI and TestPyPI
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ paths :
8+ - ' drafttopic/about.py'
9+
10+ jobs :
11+ build-n-publish :
12+ name : Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@master
16+ - name : Set up Python 3.7
17+ uses : actions/setup-python@v3
18+ with :
19+ python-version : " 3.7"
20+ - name : Install pypa/build
21+ run : >-
22+ python -m pip install build --user
23+ - name : Build a binary wheel and a source tarball
24+ run : >-
25+ python -m
26+ build
27+ --sdist
28+ --wheel
29+ --outdir dist/
30+ .
31+
32+ - name : Publish distribution 📦 to Test PyPI
33+ uses : pypa/gh-action-pypi-publish@release/v1
34+ with :
35+ password : ${{ secrets.PYPI_TEST_TOKEN }}
36+ repository_url : https://test.pypi.org/legacy/
37+
38+ - name : Publish distribution 📦 to PyPI
39+ uses : pypa/gh-action-pypi-publish@release/v1
40+ with :
41+ user : scoring-internal
42+ password : ${{ secrets.PYPI_PASS }}
Original file line number Diff line number Diff line change 11# Changelog
22All notable changes to this project will be documented in this file.
3+ ## [ 0.4.1]
4+
5+ ### Added
6+ * Add Github Action that build & pushes to PYPI index
7+
8+ ## [ 0.4.0]
9+
10+ ### Changed
11+ * Rebuild to add compatibility for revscoring 2.11
312
413## [ 0.3.0]
514
Original file line number Diff line number Diff line change 11__name__ = "drafttopic"
2- __version__ = "0.4.0 "
2+ __version__ = "0.4.1 "
33__author__ = "Aaron Halfaker, Sumit Asthana"
44__author_email__ = "ahalfaker@wikimedia.org, asthana.sumit23@gmail.com"
55__description__ = "A library for automatic detection of topics of new " + \
You can’t perform that action at this time.
0 commit comments