mirror of
https://github.com/aljazceru/goose.git
synced 2026-01-25 01:04:24 +01:00
ci: update release processes using Justfile, make reusable workflows have optional version param (#972)
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user