Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ on:
push:
tags:
- "v*"
workflow_dispatch:
inputs:
tag:
description: "Bare tag name to release (e.g. v0.20.0, not refs/tags/v0.20.0)"
required: true
Comment thread
zeitlinger marked this conversation as resolved.

permissions: {}

Expand Down Expand Up @@ -37,6 +42,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: ${{ github.event_name == 'workflow_dispatch' && inputs.tag || github.ref }}
persist-credentials: false
Comment thread
zeitlinger marked this conversation as resolved.

- name: Build and upload
Expand All @@ -49,6 +55,7 @@ jobs:
tar: unix
zip: windows
checksum: sha256
ref: ${{ github.event_name == 'workflow_dispatch' && format('refs/tags/{0}', inputs.tag) || github.ref }}
env:
Comment thread
zeitlinger marked this conversation as resolved.
GITHUB_TOKEN: ${{ github.token }}

Expand Down
Loading