Skip to content
This repository has been archived by the owner on Mar 24, 2024. It is now read-only.

Commit

Permalink
bundle all versions
Browse files Browse the repository at this point in the history
  • Loading branch information
lsbardel committed Jul 24, 2020
1 parent 0b0424c commit 43c346a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 12 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/release.yml
Expand Up @@ -14,26 +14,23 @@ jobs:
PYTHON_ENV: ci
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
GITHUB_TOKEN: ${{ secrets.QMBOT_GITHUB_TOKEN }}

strategy:
matrix:
python-version: [3.6, 3.7, 3.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: run postgres
run: make postgresql
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: make install
- name: test version
run: make test-version
- name: lint
run: make test-lint
- name: run tests
run: make test
- name: build python bundle
run: make bundle
run: "make bundle${{ matrix.python-version }}"
- name: release to pypi
run: make release-pypi
- name: release to github
if: matrix.python-version == '3.8'
run: make release-github
10 changes: 8 additions & 2 deletions Makefile
Expand Up @@ -64,8 +64,14 @@ test-version: ## validate version with pypi
@agilekit git validate


bundle: ## build python 3.8 bundle
@python setup.py sdist bdist_wheel
bundle3.6: ## build python 3.6 bundle
@python setup.py bdist_wheel --python-tag py36

bundle3.7: ## build python 3.7 bundle
@python setup.py bdist_wheel --python-tag py37

bundle3.8: ## build python 3.8 bundle
@python setup.py sdist bdist_wheel --python-tag py38


release-github: ## new tag in github
Expand Down

0 comments on commit 43c346a

Please sign in to comment.