Skip to content

DeterminateSystems/nix-src/.github/workflows/propose-release.yml@a1eaa2b77f9609f10066b6cc8e524c209ea0e1d9 #59

DeterminateSystems/nix-src/.github/workflows/propose-release.yml@a1eaa2b77f9609f10066b6cc8e524c209ea0e1d9

DeterminateSystems/nix-src/.github/workflows/propose-release.yml@a1eaa2b77f9609f10066b6cc8e524c209ea0e1d9 #59

on:
workflow_dispatch:
inputs:
reference-id:
type: string
required: true
version:
type: string
required: true
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
propose-release:
uses: DeterminateSystems/propose-release/.github/workflows/workflow.yml@main
permissions:
id-token: write
contents: write
pull-requests: write
with:
update-flake: false
reference-id: ${{ inputs.reference-id }}
version: ${{ inputs.version }}
extra-commands-early: |
echo ${{ inputs.version }} > .version-determinate
git add .version-determinate
git commit -m "Set .version-determinate to ${{ inputs.version }}" || true
./.github/release-notes.sh
git add doc
git commit -m "Generate release notes for ${{ inputs.version }}" || true