We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 119b0f8 commit 3cc4e47Copy full SHA for 3cc4e47
tools/build_release.sh
@@ -18,7 +18,7 @@ fi
18
# run script from project root
19
EXEC_DIR=$(pwd)
20
21
-TMP_DIR="$HOME/plugintmp"
+TMP_DIR=$(mktemp)
22
rm -Rf "$TMP_DIR"
23
mkdir -p "$TMP_DIR"
24
@@ -47,6 +47,7 @@ zip --quiet -r -9 "./$1.zip" ./wp2static
47
cd - || exit
48
49
mv "$TMP_DIR/$1.zip" .
50
+rm -rf "$TMP_DIR"
51
52
# reset dev dependencies
53
cd "$EXEC_DIR" || exit
0 commit comments