Skip to content

Commit 725d100

Browse files
committed
remove debugging code again
1 parent aa491f4 commit 725d100

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

scripts/deploy.sh

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,6 @@ docker compose --env-file .env.default --env-file .env up -d wordpress
9797
sleep 60 # wait for docker-compose launch to finish
9898
npm run matomo:console -- wordpress:build-release --name=$VERSION --tgz
9999

100-
echo "flag contents 1"
101-
echo ./app/plugins/Morpheus/icons/dist/flags/af.png
102-
cat ./app/plugins/Morpheus/icons/dist/flags/af.png
103-
echo ./app/plugins/Morpheus/icons/dist/flags/ag.png
104-
cat ./app/plugins/Morpheus/icons/dist/flags/ag.png
105-
106100
echo "➤ Copying files..."
107101
tar -xf "matomo-$VERSION.tgz" --directory="$TMP_DIR" # the archive is created via the wordpress:build-release command
108102

@@ -111,15 +105,6 @@ cd "$SVN_DIR"
111105
# Copy dotorg assets to /assets
112106
rsync -rc "$GITHUB_WORKSPACE/$ASSETS_DIR/" assets/ --delete --delete-excluded
113107

114-
which git-lfs
115-
git-lfs --version
116-
117-
echo "flag contents 2"
118-
echo $TMP_DIR/app/plugins/Morpheus/icons/dist/flags/af.png
119-
cat $TMP_DIR/app/plugins/Morpheus/icons/dist/flags/af.png
120-
echo $TMP_DIR/app/plugins/Morpheus/icons/dist/flags/ag.png
121-
cat $TMP_DIR/app/plugins/Morpheus/icons/dist/flags/ag.png
122-
123108
# Add everything and commit to SVN (in chunks in case there's too many changes in Matomo core)
124109
PIECES=(app/core app/plugins app/vendor app .)
125110
for chunk in ${PIECES[@]}; do
@@ -135,10 +120,6 @@ for chunk in ${PIECES[@]}; do
135120
fi
136121
rsync -rc "$RSYNC_FROM" "$RSYNC_TO" --delete --delete-excluded
137122

138-
echo "after rsyncing $chunk"
139-
cat $TMP_DIR/app/plugins/Morpheus/icons/dist/flags/af.png
140-
cat $TMP_DIR/app/plugins/Morpheus/icons/dist/flags/ag.png
141-
142123
if [[ "$chunk" == "." ]]; then
143124
echo "➤ rsynced version: $(cat readme.txt | grep -oP "Stable tag: \K(.+)")"
144125
fi

0 commit comments

Comments
 (0)