1
0
Fork 0
mirror of https://forgejo.ellis.link/continuwuation/continuwuity.git synced 2025-10-03 18:50:45 +00:00

fix: Fix incorrect quoting, again

This commit is contained in:
Ginger 2025-09-08 13:18:36 -04:00 committed by nex
parent b0bf9d7ec6
commit 6d71c03d4c

View file

@ -83,7 +83,7 @@ jobs:
COMPONENT="dev" COMPONENT="dev"
else else
# Use the sanitized ref name as the component for feature branches # Use the sanitized ref name as the component for feature branches
COMPONENT="dev/$(echo '${{ forge.ref_name }}'' | sed 's/[^a-zA-Z0-9.+/]/-/g' | tr '[:upper:]' '[:lower:]' | cut -c1-30)" COMPONENT="dev/$(echo '${{ forge.ref_name }}' | sed 's/[^a-zA-Z0-9.+/]/-/g' | tr '[:upper:]' '[:lower:]' | cut -c1-30)"
fi fi
CLEAN_COMPONENT=$(echo $COMPONENT | sed 's/[^a-zA-Z0-9.+]/~/g') CLEAN_COMPONENT=$(echo $COMPONENT | sed 's/[^a-zA-Z0-9.+]/~/g')
VERSION="$BASE_VERSION~git$DATE.$SHA-$CLEAN_COMPONENT" VERSION="$BASE_VERSION~git$DATE.$SHA-$CLEAN_COMPONENT"