mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-23 17:43:47 +03:00
fix input variable syntax [2]
This commit is contained in:
parent
2dae707096
commit
1706653085
6
.github/workflows/publish.yaml
vendored
6
.github/workflows/publish.yaml
vendored
@ -2,10 +2,10 @@ name: "Publish"
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
type:
|
||||
bump:
|
||||
type: choice
|
||||
required: true
|
||||
description: Release type
|
||||
description: update type
|
||||
options:
|
||||
- undefined
|
||||
- patch
|
||||
@ -44,7 +44,7 @@ jobs:
|
||||
- name: Set env variable with version
|
||||
run: |
|
||||
CURRENT_VERSION="$(curl --silent "https://app.gitbutler.com/releases" | jq -r '.version')"
|
||||
NEXT_VERSION=$(./scripts/next.sh "$CURRENT_VERSION" "${{ inputs.print_tags }}")
|
||||
NEXT_VERSION=$(./scripts/next.sh "$CURRENT_VERSION" "${{ inputs.bump }}")
|
||||
echo "version=$NEXT_VERSION-${{ github.run_number }}" >> $GITHUB_ENV
|
||||
|
||||
- name: Build binary
|
||||
|
@ -11,7 +11,7 @@ function help() {
|
||||
echo 1>&$to
|
||||
echo "where:" 1>&$to
|
||||
echo " <version> is a current semver version." 1>&$to
|
||||
echo " <bump> is either patch, major or 'minor'." 1>&$to
|
||||
echo " <bump> is either 'patch', 'major' or 'minor'." 1>&$to
|
||||
}
|
||||
|
||||
function error() {
|
||||
|
Loading…
Reference in New Issue
Block a user