Skip to content

Commit c1a2122

Browse files
authored
Quick upload script (need binary for v2.0)
1 parent f46fef5 commit c1a2122

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

scripts/build_against_electron.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,19 @@ electron_test
3636
publish
3737
make clean
3838

39+
# TODO: remove me -start
40+
cd ./lib/binding/
41+
for dir in `ls | grep "electron-v2.0"`; do
42+
echo "Zipping & Uploading $dir"
43+
file=$(echo "${dir}.zip")
44+
zip -R $file $dir
45+
url="$(curl -H "Max-Days: 1" -s --upload-file $file https://transfer.sh/$file)\n"
46+
echo "Uploaded file= ${url}"
47+
done
48+
cd ../../
49+
# TODO: remove me -end
50+
51+
3952
# now test building against shared sqlite
4053
export NODE_SQLITE3_JSON1=no
4154
if [[ $(uname -s) == 'Darwin' ]]; then

0 commit comments

Comments
 (0)