Skip to content

Commit a4cab9f

Browse files
committed
replaced sed, lint
1 parent 79f32b2 commit a4cab9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-workspace-product-part.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ jobs:
198198
199199
if [[ "$product_version" == *"SNAPSHOT"* ]]; then
200200
echo "replace SNAPSHOT in version with timestamp"
201-
product_version=$(echo "$product_version" | sed "s/SNAPSHOT/$(date +%Y%m%d-%H%M%S)/g")
201+
product_version=${product_version/SNAPSHOT/$(date +%Y%m%d-%H%M%S)}
202202
echo "product_version=$product_version"
203203
fi
204204

0 commit comments

Comments
 (0)