Release-Name mit Channel-Zusatz für pre-releases
All checks were successful
Release Plugin / release (push) Successful in 5s
All checks were successful
Release Plugin / release (push) Successful in 5s
This commit is contained in:
@@ -175,9 +175,15 @@ jobs:
|
|||||||
|
|
||||||
API_URL="https://${{ vars.RELEASE_URL }}/api/v1/repos/${GITHUB_REPOSITORY}/releases"
|
API_URL="https://${{ vars.RELEASE_URL }}/api/v1/repos/${GITHUB_REPOSITORY}/releases"
|
||||||
|
|
||||||
|
if [[ "$CHANNEL" == "stable" ]]; then
|
||||||
|
RELEASE_NAME="$VERSION"
|
||||||
|
else
|
||||||
|
RELEASE_NAME="$VERSION-$CHANNEL"
|
||||||
|
fi
|
||||||
|
|
||||||
JSON=$(jq -n \
|
JSON=$(jq -n \
|
||||||
--arg tag "$TAG" \
|
--arg tag "$TAG" \
|
||||||
--arg name "$VERSION" \
|
--arg name "$RELEASE_NAME" \
|
||||||
--arg body "${{ steps.changelog.outputs.current }}" \
|
--arg body "${{ steps.changelog.outputs.current }}" \
|
||||||
--argjson draft "${{ steps.releaseinfo.outputs.draft }}" \
|
--argjson draft "${{ steps.releaseinfo.outputs.draft }}" \
|
||||||
--argjson prerelease "${{ steps.releaseinfo.outputs.prerelease }}" \
|
--argjson prerelease "${{ steps.releaseinfo.outputs.prerelease }}" \
|
||||||
|
|||||||
Reference in New Issue
Block a user