Script deployment to both platforms

This commit is contained in:
Davide De Rosa 2021-01-06 17:10:30 +01:00
parent a0be83a499
commit 7d47150c15
3 changed files with 14 additions and 0 deletions

7
scripts/build.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/sh
rm -rf build dist
scripts/commit-beta.sh
ci/beta-archive.sh mac || { echo "Failed to build macOS" ; exit 1 ; }
scripts/reset-archive.sh
ci/beta-archive.sh ios || { echo "Failed to build iOS" ; exit 1 ; }
scripts/reset-archive.sh

4
scripts/commit-beta.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
git add Passepartout/App/*/CHANGELOG.md
git add Passepartout/App/*/fastlane/metadata/*/release_notes.txt
git commit -m "Set beta release"

3
scripts/submit.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
ci/store-deploy.sh mac || { echo "Failed to deploy macOS" ; exit 1 ; }
ci/store-deploy.sh ios || { echo "Failed to deploy iOS" ; exit 1 ; }