mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-09-09 19:13:03 +02:00
fix: No slashes in components I guess
This commit is contained in:
parent
6c800a293c
commit
3509c5a65a
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue