From bf1425e255ea5403fa5f7a208e4de5c79fe57ef1 Mon Sep 17 00:00:00 2001 From: MoojMidge <56883549+MoojMidge@users.noreply.github.com> Date: Sat, 27 Apr 2024 10:57:14 +1000 Subject: [PATCH] Fix variable name in repository workflow after 9c972b7 --- .github/workflows/release-development-repository.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-development-repository.yml b/.github/workflows/release-development-repository.yml index db38e323c..6a7a29fd2 100644 --- a/.github/workflows/release-development-repository.yml +++ b/.github/workflows/release-development-repository.yml @@ -2,7 +2,7 @@ name: Generate and Publish Development Repositories on: workflow_dispatch: inputs: - pre-release: + prerelease: description: 'Is this a pre-release? [true|false]' required: false default: 'true' @@ -27,10 +27,10 @@ jobs: id: release run: | version=${GITHUB_REF/refs\/tags\//} - pre-release=${{ github.event.inputs.pre-release }} - if [[ ! -z "${pre-release}" ]] ; + prerelease=${{ github.event.inputs.prerelease }} + if [[ ! -z "${prerelease}" ]] ; then - echo "pre-release=${pre-release}" >> $GITHUB_OUTPUT + echo "pre-release=${prerelease}" >> $GITHUB_OUTPUT elif [[ $version == *[-+]@(alpha|beta|dev)*([.0-9a-z]) ]] ; then echo "pre-release=true" >> $GITHUB_OUTPUT