mirror of
https://github.com/block/goose.git
synced 2026-04-29 12:09:38 +00:00
ci: update release processes using Justfile, make reusable workflows have optional version param (#972)
This commit is contained in:
parent
a2bd5099be
commit
7c87a963c5
7 changed files with 89 additions and 48 deletions
4
.github/workflows/bundle-desktop.yml
vendored
4
.github/workflows/bundle-desktop.yml
vendored
|
|
@ -8,7 +8,8 @@ on:
|
|||
inputs:
|
||||
version:
|
||||
description: 'Version to set for the build'
|
||||
required: true
|
||||
required: false
|
||||
default: ""
|
||||
type: string
|
||||
signing:
|
||||
description: 'Whether to perform signing and notarization'
|
||||
|
|
@ -75,6 +76,7 @@ jobs:
|
|||
|
||||
# Update versions before build
|
||||
- name: Update versions
|
||||
if: ${{ inputs.version != '' }}
|
||||
run: |
|
||||
# Update version in Cargo.toml
|
||||
sed -i.bak 's/^version = ".*"/version = "'${{ inputs.version }}'"/' Cargo.toml
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue