Add release notes for v0.3.16. #55
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: Create Release | |
on: | |
push: | |
tags: | |
- 'v*' | |
jobs: | |
ci: | |
name: CI | |
uses: ./.github/workflows/ci.yml | |
docs: | |
name: Verify Docs Build | |
uses: beeware/.github/.github/workflows/docs-build-verify.yml@main | |
secrets: inherit | |
with: | |
project-name: "briefcase" | |
project-version: ${{ github.ref_name }} | |
release: | |
name: Create Release | |
needs: [ ci, docs ] | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
# This permission is required for trusted publishing. | |
id-token: write | |
steps: | |
- name: Set build variables | |
run: | | |
echo "VERSION=${GITHUB_REF_NAME#v}" >> $GITHUB_ENV | |
- name: Set up Python | |
uses: actions/setup-python@v4.7.1 | |
with: | |
python-version: "3.x" | |
- name: Get packages | |
uses: actions/download-artifact@v3.0.2 | |
with: | |
name: ${{ needs.ci.outputs.artifact-name }} | |
path: dist | |
- name: Install packages | |
run: pip install dist/*.whl | |
- name: Check version number | |
# Check that the setuptools_scm-generated version number is still the same when | |
# installed from a wheel with setuptools_scm not present. | |
run: | | |
set -x | |
test $(briefcase --version) = $VERSION | |
- name: Create release | |
uses: ncipollo/release-action@v1.13.0 | |
with: | |
name: ${{ env.VERSION }} | |
draft: true | |
artifacts: dist/* | |
artifactErrorsFailBuild: true | |
- name: Publish release to Test PyPI | |
uses: pypa/gh-action-pypi-publish@release/v1 | |
with: | |
repository-url: https://test.pypi.org/legacy/ |