Skip to content

Bump version v2.1.0 -> v2.1.1. #8

Bump version v2.1.0 -> v2.1.1.

Bump version v2.1.0 -> v2.1.1. #8

Workflow file for this run

---
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 == 'nanotech-empa/aiida-gaussian' && startsWith(github.ref, 'refs/tags/v')
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install pypa/build
run: |
python -m pip install build
- name: Build source distribution
run: python -m build . --wheel --sdist
- uses: softprops/[email protected]
name: Create release
with:
files: |
dist/*
generate_release_notes: true
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}