preparing v1.74.0

This commit is contained in:
Mick Grove 2026-01-12 22:50:05 -08:00
commit 4f18541cb6
24 changed files with 1465 additions and 97 deletions

View file

@ -4,6 +4,14 @@ on:
push:
branches:
- main
release:
types: [published]
workflow_dispatch:
inputs:
tag:
description: "Tag to publish (leave blank to use Cargo.toml version)"
required: false
type: string
env:
VCPKG_ROOT: C:\vcpkg
VCPKG_DOWNLOADS: C:\vcpkg\downloads
@ -288,11 +296,20 @@ jobs:
contents: write
steps:
- uses: actions/checkout@v4
- name: Read version from Cargo.toml
- name: Determine tag
id: version
shell: bash
run: |
VERSION=$(grep -m1 '^version\s*=' Cargo.toml | cut -d '"' -f2)
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
set -euo pipefail
if [[ "${GITHUB_EVENT_NAME}" == "release" ]]; then
TAG="${{ github.event.release.tag_name }}"
elif [[ "${GITHUB_EVENT_NAME}" == "workflow_dispatch" && -n "${{ github.event.inputs.tag }}" ]]; then
TAG="${{ github.event.inputs.tag }}"
else
VERSION=$(grep -m1 '^version\s*=' Cargo.toml | cut -d '"' -f2)
TAG="v${VERSION}"
fi
echo "tag=${TAG}" >> "$GITHUB_OUTPUT"
- uses: actions/download-artifact@v4
with:
path: target/release/kingfisher-*
@ -312,8 +329,9 @@ jobs:
- name: Create release & upload assets
uses: ncipollo/release-action@v1
with:
tag: v${{ steps.version.outputs.version }}
name: "Kingfisher v${{ steps.version.outputs.version }}"
tag: ${{ steps.version.outputs.tag }}
name: "Kingfisher ${{ steps.version.outputs.tag }}"
bodyFile: .latest_changelog.md # ← only the most-recent entry
allowUpdates: true
generateReleaseNotes: false
artifacts: target/release/**