Updated release scripts.

This commit is contained in:
Lauri Ojansivu 2022-10-02 21:44:46 +03:00
parent 923e48d64c
commit f6dfd2ab67
3 changed files with 10 additions and 4 deletions

View file

@ -21,7 +21,10 @@ rm wekan-$1-arm64.zip
(cd bundle/programs/server && chmod u+w *.json && cd node_modules/fibers && node build.js)
#cd ../../../..
(cd bundle/programs/server/npm/node_modules/meteor/accounts-password && npm remove bcrypt && npm install bcrypt)
#(cd bundle/programs/server/npm/node_modules/meteor/accounts-password && npm remove bcrypt && npm install bcrypt)
# Requires building from source https://github.com/meteor/meteor/issues/11682
(cd bundle/programs/server/npm/node_modules/meteor/accounts-password && npm rebuild --build-from-source)
cd bundle
find . -type d -name '*-garbage*' | xargs rm -rf

View file

@ -22,6 +22,9 @@ rm wekan-$1-ppc64le.zip
(cd bundle/programs/server && chmod u+w *.json && cd node_modules/fibers && node build.js)
#cd ../../../..
# Requires building from source https://github.com/meteor/meteor/issues/11682
(cd bundle/programs/server/npm/node_modules/meteor/accounts-password && npm rebuild --build-from-source)
cd bundle
find . -type d -name '*-garbage*' | xargs rm -rf
find . -name '*phantom*' | xargs rm -rf

View file

@ -6,9 +6,9 @@ cd ~/repos/wekan/.build
zip -r wekan-$1.zip bundle
{
scp ~/repos/wekan/releases/maintainer-make-bundle-a.sh a:/home/wekan/
scp ~/repos/wekan/releases/maintainer-make-bundle-s.sh s:/home/linux1/
scp ~/repos/wekan/releases/maintainer-make-bundle-o.sh o:/home/ubuntu/
scp ~/repos/wekan/releases/build-bundle-arm64.sh a:/home/wekan/
scp ~/repos/wekan/releases/build-bundle-s390x.sh s:/home/linux1/
scp ~/repos/wekan/releases/build-bundle-ppc64el.sh o:/home/ubuntu/
scp ~/repos/wekan/releases/release-x2.sh x2w:/var/websites/
scp wekan-$1.zip x2w:/var/websites/releases.wekan.team/public/
scp wekan-$1.zip a:/home/wekan/