Skip to content

Commit 61c2f9f

Browse files
committed
Escape the slashes
1 parent 13dac21 commit 61c2f9f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/playground.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ jobs:
5858
set -euxo pipefail
5959
ARTIFACT_URL="https://nightly.link/${{ github.repository }}/actions/runs/${{ github.run_id }}/${{ github.event.repository.name }}.zip"
6060
61-
# Load blueprint and replace plugin name with artifact URL
62-
BLUEPRINT=$(cat .wordpress-org/blueprints/blueprint.json | sed "s/\"progress-planner\"/\"${ARTIFACT_URL}\"/g")
61+
# Load blueprint and replace plugin name with artifact URL using | as delimiter
62+
BLUEPRINT=$(cat .wordpress-org/blueprints/blueprint.json | sed "s|\"progress-planner\"|\"${ARTIFACT_URL}\"|g")
6363
6464
# Base64 encode the blueprint
6565
ENCODED_BLUEPRINT=$(echo -n "$BLUEPRINT" | base64 -w 0)

0 commit comments

Comments
 (0)