We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6b8bf0 commit b446480Copy full SHA for b446480
.gitignore
@@ -1 +1 @@
1
-*.sh
+*.zip
.rsync_exclude
create_plugin_zip.sh
@@ -0,0 +1,23 @@
+#!/bin/sh
2
+
3
+set -e
4
+set -v
5
6
+version=$(jq -r ".version" < composer.json)
7
+root_folder="BuyButtonStateSynchronizer"
8
+filename="codebarista_buy_button_state_synchronizer_$version.zip"
9
+out_file="$PWD/$filename"
10
11
+rm -rf "/tmp/$root_folder"
12
+mkdir -p "/tmp/$root_folder"
13
+cp -r . "/tmp/$root_folder/"
14
15
+rm -f "$out_file"
16
17
+( cd /tmp && zip -r "$out_file" "$root_folder" \
18
+ -x "$root_folder/.*" \
19
+ -x "$root_folder/*.xcf" \
20
+ -x "$root_folder/bin*" \
21
+ -x "$root_folder/*.sh" \
22
+ -x "$root_folder/*.zip" \
23
+ -x "$root_folder/*.md")
0 commit comments