Skip to content

Release version: v0.1.1 #7

Release version: v0.1.1

Release version: v0.1.1 #7

Workflow file for this run

name: Create draft GitHub release
on:
push:
tags:
- v*
jobs:
build:
uses: qua-platform/qualibrate/.github/workflows/reusable-build.yaml@main
release:
runs-on: ubuntu-latest
needs:
- build
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
path: dist
pattern: python-package-*
merge-multiple: true
- name: Install poetry
run: pipx install poetry
- name: Create release notes
run: |
cat > notes.md <<- EOM
Individual release notes can be found in the respective packages.
Qualibrate App package version: $(poetry show qualibrate-app | awk '/version/ { print $3 }')
Qualibrate Runner package version: $(poetry show qualibrate-runner | awk '/version/ { print $3 }')
Qualibrate Core package version: $(poetry show qualibrate-core | awk '/version/ { print $3 }')
EOM
- name: Create release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run:
gh release create ${{ github.ref_name }}
--notes-file notes.md
--verify-tag --latest
--draft
"dist/qualibrate-${GITHUB_REF_NAME#v}-py3-none-any.whl"
"dist/qualibrate-${GITHUB_REF_NAME#v}.tar.gz"