Commit Graph

20 Commits

Author SHA1 Message Date
Davide De Rosa deac70359f Reorganize and fix platform-specific fastlane data
Reuse all iOS metadata in macOS, except the app icon.
2022-04-25 11:21:19 +02:00
Davide De Rosa 063f0621c1 Unify metadata
- Fix fastlane env variables

- Use single CHANGELOG.md in project root

- Retain old 1.x changelogs
2022-04-19 16:17:13 +02:00
Davide De Rosa 1532e8808b [ci skip] Address CI and ASC validation issues
- Skip tests until fixed wg-go issue

- Add golang step

- Set "Apple Development" at project level

- Set Catalyst platform for gym

- Drop TARGET env variable clashing with WireGuardKit

- Disable SwiftGen script phase

- Fix TunnelKit segfault on archive

- Xcode 13.2.1 compatibility
    Fix some issues with @MainActor
    Use #available instead of #unavailable

- Raise timeout from 10 to 15 minutes

- Update beta description

- Tunnel bundle ids cannot have periods

- CFBundleDisplayName required in tunnels
2022-04-13 10:00:29 +02:00
Davide De Rosa 4aba5f46aa Rewrite app in SwiftUI 2022-04-12 15:12:45 +02:00
Davide De Rosa 2a5c231d3d
Polish release workflow (#207)
* 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
2021-12-03 15:31:19 +01:00
Davide De Rosa aad26ee8e4 Revert "Move .ipa/.pkg paths to env"
This reverts commit e267a5ad13.
2021-11-25 14:20:36 +01:00
Davide De Rosa e267a5ad13 Move .ipa/.pkg paths to env 2021-11-11 16:40:36 +01:00
Davide De Rosa 7870ea5997 Fix testing destinations 2021-11-06 12:22:09 +01:00
Davide De Rosa ebaa8f08ff Fix approach to test target
- Test core Swift package, not project
- Commit package schemes to repository
2021-11-06 11:23:10 +01:00
Davide De Rosa 9539876d23 Strip plenty of fastlane env 2021-10-11 17:23:18 +02:00
Davide De Rosa cedd1e9442 Add testing into beta workflow
Only run tests on master branch.
2021-10-11 11:12:16 +02:00
Davide De Rosa 12e8570fcb Split upload and TestFlight jobs 2021-10-08 09:26:21 +02:00
Davide De Rosa 0a6894d82c Rewrite beta local/remote flow
- Merge envs
- Explicit lanes in workflow
2021-10-04 22:54:50 +02:00
Davide De Rosa dd3cac40c6 Bundle macOS app with iOS 2021-02-02 21:25:59 +01:00
Davide De Rosa 77c041e37e Fix platform env for match 2021-01-18 20:42:02 +01:00
Davide De Rosa 2588101efa Compose some env variables 2021-01-18 17:43:56 +01:00
Davide De Rosa a0be83a499 Set up to upload Mac build to App Store
- Do not skip .pkg for Mac App Store builds (beta)
- Add store_deploy lane
2021-01-06 18:01:28 +01:00
Davide De Rosa 6c55564dee Fix scripts with platform argument 2021-01-03 22:28:08 +01:00
Davide De Rosa 4c92f60af7 Refactor fastlane per-app screenshots/metadata 2021-01-03 22:28:08 +01:00
Davide De Rosa 505d79d9d6 Refactor fastlane configuration/environment
Remember skip_package_pkg for macOS.
2021-01-03 22:28:08 +01:00