Skip to content

fix(py): Type stubs for calibration types reflect breaking changes in 0.13.0 #330

fix(py): Type stubs for calibration types reflect breaking changes in 0.13.0

fix(py): Type stubs for calibration types reflect breaking changes in 0.13.0 #330

Workflow file for this run

name: Release
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
inputs:
type:
description: Bump versions and trigger a new release.
required: true
default: release
options:
- release
- prerelease
jobs:
release:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.PAT }}
- name: Install Knope
uses: knope-dev/action@v2.0.0
with:
version: 0.16.0 # Test before updating, breaking changes likely: https://github.com/knope-dev/action#install-latest-version
- run: |
git config --global user.name "${{ github.triggering_actor }}"
git config --global user.email "${{ github.triggering_actor}}@users.noreply.github.com"
- name: Dry-run Release
run: knope release --verbose --dry-run
if: github.event_name == 'pull_request'
- name: Prepare Prerelease
run: knope release --verbose --prerelease-label=rc
if: github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && inputs.type == 'prerelease')
- name: Prepare Release
run: knope release --verbose
if: github.event_name == 'workflow_dispatch' && inputs.type == 'release'