There was an error while loading. Please reload this page.
1 parent ecc9bdc commit 77b2a67Copy full SHA for 77b2a67
1 file changed
bin/release_addon
@@ -4,7 +4,8 @@ PLUGIN_DIR=$(basename $PWD)
4
VERSION=$1
5
REMOTE="danny@eu1.ibericode.com"
6
REMOTE_APP_DIR="/var/www/my.boxzillaplugin.com"
7
-PACKAGE_FILE="$HOME/Downloads/$PLUGIN_DIR-$VERSION.zip"
+PACKAGE_NAME="$PLUGIN_DIR-$VERSION.zip"
8
+PACKAGE_FILE="$HOME/Downloads/$PACKAGE_NAME"
9
10
# Exit on errors
11
set -euo pipefail
@@ -72,7 +73,7 @@ echo "$PACKAGE_FILE created ($SIZE_KB KB)"
72
73
74
# Go back into plugin directory
75
cd "$PLUGIN_DIR"
-printf "Push $PACKAGE_NAME to production? [y/N] "
76
+printf "Push $PACKAGE_FILE to production? [y/N] "
77
read CONFIRM
78
if [[ "$CONFIRM" != "y" ]]; then
79
exit 1;
0 commit comments