Skip to content

Commit ff29da5

Browse files
authored
Publish is broken when dependencies contain a slash (#39)
1 parent 02ffd61 commit ff29da5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.ci/writeBuildInformation.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ if [ "$DEPENDENCIES" = "null" ]; then
2626
DEPENDENCIES="{}"
2727
fi
2828

29+
DEPENDENCIES="${DEPENDENCIES//[\/]/\\/}" # replace '/' with '\/' because it's a special char
30+
2931
DATE=$(date -u --iso-8601=seconds)
3032

3133
echo "Writing the following properties into $TARGET_FILE"

0 commit comments

Comments
 (0)