Skip to content

Commit

Permalink
Merge pull request #728 from MoojMidge/v7.0.6
Browse files Browse the repository at this point in the history
Fix repository workflow part 2
  • Loading branch information
MoojMidge authored Apr 27, 2024
2 parents 4a34046 + bf1425e commit 016ed38
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release-development-repository.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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
Expand Down

0 comments on commit 016ed38

Please sign in to comment.