diff --git a/.gitea/workflows/parseVersion.yaml b/.gitea/workflows/parseVersion.yaml index f74b1c6..7bb72cc 100644 --- a/.gitea/workflows/parseVersion.yaml +++ b/.gitea/workflows/parseVersion.yaml @@ -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 \ No newline at end of file