Bump version v2.0.0 -> v2.1.0b0. #9
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Publish on PyPI | |
on: | |
push: | |
tags: | |
# After vMajor.Minor.Patch _anything_ is allowed (without "/") ! | |
- v[0-9]+.[0-9]+.[0-9]+* | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
if: github.repository == 'aiidateam/aiida-cp2k' | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@v2 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
- name: Install flit | |
run: pip install flit~=3.4 | |
- name: Build and publish | |
run: flit publish | |
env: | |
FLIT_USERNAME: __token__ | |
FLIT_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} | |
- uses: softprops/[email protected] | |
name: Create release | |
with: | |
files: | | |
dist/* | |
generate_release_notes: true |