Files
kittycad.py/.github/workflows/make-release.yml
dependabot[bot] b9e1d6fda6 Bump actions/setup-python from 3 to 4
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3 to 4.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-09 11:23:38 +00:00

32 lines
797 B
YAML

on:
push:
tags:
- v*
name: make-release
jobs:
makerelease:
name: make-release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.x'
# Installation instructions are from: https://python-poetry.org/docs/
- name: Install poetry
shell: bash
run: |
pip install poetry
- name: Do the release
shell: bash
run: |
poetry publish --build \
--username ${{secrets.PYPI_USERNAME}} \
--password ${{secrets.PYPI_SECRET}}
# TODO: generate a nice little doc for the release text like we do for the
# cli repo.
- name: Create a Release
uses: softprops/action-gh-release@v1