mirror of
https://github.com/passepartoutvpn/passepartout-apple.git
synced 2025-01-07 17:22:39 +00:00
2a5c231d3d
* Do run tests in beta
- Test and build app in same lane
- Run tests with swift directly
- Set timeout on build only
- Set GYM_OUTPUT_DIRECTORY inline
- Fix bad build number, broken in db075eb
- Ignore updates to CHANGELOG for testing
- Drop unnecessary exports
- Drop unnecessary test env
- Drop unused PLATFORM .env.* variable
* Work around gym issues in CI
- Set custom build paths for proper clean-up
- Disable xcpretty (seems to hang job)
* Add descriptive names to workflow
- Rename beta to release
- Add job names
* Optimize release workflow
- Use a matrix for multiplatform build
- Only preinstall platform-specific certificates
- Output app version/build early for job reuse
- Do not depend app review on public beta release
- Pull latest commits before pushing/tagging
In release, ci/* scripts require Ruby. Make version an argument
of the commit-release.sh script to fix dependency.
* Import secret to notify external testers or not
* [ci skip] Add CHANGELOG preface in local scripts
* [ci skip] Update links to release via CI
16 lines
461 B
Bash
Executable File
16 lines
461 B
Bash
Executable File
#!/bin/sh
|
|
PLATFORM=$1
|
|
if [[ -z $PLATFORM ]]; then
|
|
echo "Platform required"
|
|
exit
|
|
fi
|
|
OUTPUT_DIRECTORY="dist/$PLATFORM"
|
|
if [[ $PLATFORM == "ios" ]]; then
|
|
export PILOT_IPA="$OUTPUT_DIRECTORY/Passepartout.ipa"
|
|
else
|
|
export PILOT_PKG="$OUTPUT_DIRECTORY/Passepartout.pkg"
|
|
fi
|
|
export CHANGELOG_PREFACE=`cat templates/CHANGELOG.preface.md`
|
|
export PILOT_CHANGELOG=`ci/build-changelog.sh $PLATFORM`
|
|
bundle exec fastlane --env $PLATFORM,beta,secret run pilot
|