Skip to content

Commit

Permalink
replaced sed with parameter expansion because of lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dvviktordelev committed Aug 4, 2023
1 parent 726db53 commit 91dc25f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-workspace-product-part.yml
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ jobs:
if [[ $product_version == *"SNAPSHOT"* ]]; then
echo "replace SNAPSHOT in version with timestamp"
product_version=$(echo "$product_version" | sed "s/SNAPSHOT/$(date +%Y%m%d-%H%M%S)/g")
product_version="${product_version/SNAPSHOT/$(date +%Y%m%d-%H%M%S)}"
echo "product_version=$product_version"
fi
Expand Down

0 comments on commit 91dc25f

Please sign in to comment.