mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-24 01:51:57 +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:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
type:
|
bump:
|
||||||
type: choice
|
type: choice
|
||||||
required: true
|
required: true
|
||||||
description: Release type
|
description: update type
|
||||||
options:
|
options:
|
||||||
- undefined
|
- undefined
|
||||||
- patch
|
- patch
|
||||||
@ -44,7 +44,7 @@ jobs:
|
|||||||
- name: Set env variable with version
|
- name: Set env variable with version
|
||||||
run: |
|
run: |
|
||||||
CURRENT_VERSION="$(curl --silent "https://app.gitbutler.com/releases" | jq -r '.version')"
|
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
|
echo "version=$NEXT_VERSION-${{ github.run_number }}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Build binary
|
- name: Build binary
|
||||||
|
@ -11,7 +11,7 @@ function help() {
|
|||||||
echo 1>&$to
|
echo 1>&$to
|
||||||
echo "where:" 1>&$to
|
echo "where:" 1>&$to
|
||||||
echo " <version> is a current semver version." 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() {
|
function error() {
|
||||||
|
Loading…
Reference in New Issue
Block a user