release channel export
This commit is contained in:
parent
fb92430dd1
commit
7f3b36bd1d
@ -18,6 +18,9 @@ on:
|
||||
build:
|
||||
description: "Build number"
|
||||
value: ${{ jobs.parse.outputs.build }}
|
||||
releaseChannel:
|
||||
description: "The release channel"
|
||||
value: ${{ jobs.parse.outputs.releaseChannel }}
|
||||
simpleVersion:
|
||||
description: "Simple Version output"
|
||||
value: ${{ jobs.parse.outputs.simpleVersion }}
|
||||
@ -39,10 +42,10 @@ jobs:
|
||||
input="${VERSION#refs/tags/}"
|
||||
|
||||
if [[ "$input" == *"/"* ]]; then
|
||||
prefix=$(echo "$input" | cut -d'/' -f1)
|
||||
releaseChannel=$(echo "$input" | cut -d'/' -f1)
|
||||
version=$(echo "$input" | cut -d'/' -f2)
|
||||
else
|
||||
prefix="beta"
|
||||
releaseChannel="beta"
|
||||
version="$input"
|
||||
fi
|
||||
|
||||
@ -61,5 +64,6 @@ jobs:
|
||||
echo "minor=$minor" >> $GITHUB_OUTPUT
|
||||
echo "patch=$patch" >> $GITHUB_OUTPUT
|
||||
echo "build=$build" >> $GITHUB_OUTPUT
|
||||
echo "releaseChannel=$releaseChannel" >> $GITHUB_OUTPUT
|
||||
echo "simpleVersion=$SIMPLE_VERSION" >> $GITHUB_OUTPUT
|
||||
echo "buildVersion=$BUILD_VERSION" >> $GITHUB_OUTPUT
|
Loading…
Reference in New Issue
Block a user