Commit Graph

163 Commits

Author SHA1 Message Date
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 ab2aa03c62 Optimize release workflow
- Enforce 1h keychain lock timeout

- Disable xcpretty again for better debugging

- Drop redundant names of boilerplate actions

- Limit scope of release env variables

- Split release pull and tagging

- Generate markdown release notes in standalone script
2021-12-08 16:10:27 +01:00
Davide De Rosa ca7de6d6ae Unlock keychain after creation
Might be the reason behind build hanging up in CI, arguably
waiting for a keychain password prompt.

Now, the issue never happened while prepping #207.

When testing the PR though, the testing step was omitted. This
drastically reduced the time between keychain creation and the
build to reach the codesigning phase. By restoring tests in
between, the increase in time would likely incur in keychain
auto-locking up.

- Convert action to keychain creation only

- Restore xcpretty as irrelevant (2a5c231)
2021-12-04 11:52:59 +01: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 ae1aa1a268 Reorganize project with SwiftPM
- Drop CocoaPods completely
- Make PassepartoutCore a Swift package
- Enable Bitcode to fix OpenSSL linkage (iOS)
- Update CI scripts without CocoaPods
2021-11-06 11:18:55 +01:00
Davide De Rosa 6eee983769 Fix unnecessary API key call in lane 2021-10-16 12:35:04 +02:00
Davide De Rosa 16047d18c9 Skip binary upload in deliver
Upload is done on TestFlight for both iOS and macOS.
2021-10-15 22:17:11 +02:00
Davide De Rosa 6b7ab9a33b Strip DIST_PATH 2021-10-11 17:34:31 +02:00
Davide De Rosa 9539876d23 Strip plenty of fastlane env 2021-10-11 17:23:18 +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 9d92453110 XXX: Skip precheck
Doesn't work with API key authentication.
2021-02-05 18:08:54 +01:00
Davide De Rosa 37fb68c2e1 XXX: Skip overwriting screenshots 2021-01-30 21:58:22 +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 505d79d9d6 Refactor fastlane configuration/environment
Remember skip_package_pkg for macOS.
2021-01-03 22:28:08 +01:00
Davide De Rosa d4b7d47498 Merge macOS app and Core into repository
Temporarily drop env and fastlane.
2021-01-03 22:28:07 +01:00
Davide De Rosa 66bdc65359 Set beta release 2021-01-02 11:09:26 +01:00
Davide De Rosa f74b1dacf7 Add missing translations
See 46b3c7838f
2020-12-28 22:56:50 +01:00
Davide De Rosa 2d2753a04a Add MTU to description 2020-12-28 22:54:53 +01:00
Davide De Rosa e27d59a5c5 Set beta release 2020-12-28 19:12:51 +01:00
Davide De Rosa b4b5782c58 Update metadata 2020-12-27 20:41:13 +01:00
Davide De Rosa 46b3c7838f Add missing provider 2020-12-27 20:11:33 +01:00
Davide De Rosa ed52d9ceaa Set beta release 2020-11-15 22:22:08 +01:00
Davide De Rosa c38db995ff Set beta release 2020-10-25 18:43:23 +01:00
Davide De Rosa 57524d644a Set beta release 2020-10-06 00:03:49 +02:00
Davide De Rosa c05334bcf7 Set beta release 2020-07-23 14:14:08 +02:00
Davide De Rosa b28edc3d8f Set beta release 2020-06-11 17:06:05 +02:00
Davide De Rosa 93283d4b32 Set beta release 2020-06-01 11:15:35 +02:00
Davide De Rosa f829122351 Set beta release 2020-05-23 19:08:45 +02:00
Davide De Rosa 9b2582c453 Update fastlane templates 2020-05-23 15:42:13 +02:00
Davide De Rosa 834e902fce Exchange primary/secondary categories 2020-05-20 19:46:23 +02:00
Davide De Rosa 89808bb2ea Set beta release 2020-05-19 19:59:00 +02:00
Davide De Rosa d1ade9a977 Add TorGuard provider 2020-05-15 17:12:46 +02:00
Davide De Rosa 160c9c34dd Set beta release 2020-05-11 22:54:41 +02:00
Davide De Rosa f7750760a5 Set beta release 2020-05-10 12:55:36 +02:00
Davide De Rosa a3deba4442 Add Hide.me to metadata 2020-05-10 00:43:09 +02:00
Davide De Rosa 4445eea309 Set beta release 2020-04-22 11:57:28 +02:00
Davide De Rosa b73c78bf7d Fix missing edits in screenshots
Only iPhone 6.5" in a5cdd136e6
2020-04-18 17:00:38 +02:00
Davide De Rosa be500891d0 Set beta release 2020-04-06 11:32:42 +02:00
Davide De Rosa a5cdd136e6 Update copyright and first screenshot
Replace "7 Providers" with "Your Providers".
2020-02-28 21:45:15 +01:00
Davide De Rosa 28940f75ec Set beta release 2020-02-28 18:45:17 +01:00
Davide De Rosa ce8b5728b7 Set beta release 2020-02-27 16:29:37 +01:00
Davide De Rosa 4d3802d551 Copy en release notes 2019-12-22 12:27:57 +01:00
Davide De Rosa a2a4db0568 Set beta release 2019-12-22 12:16:21 +01:00
Davide De Rosa e28d8331a0 Set beta release 2019-12-14 19:38:20 +01:00
Davide De Rosa b60d697fb0 Set beta release 2019-12-12 18:55:23 +01:00
Davide De Rosa 7d9784ae16 Copy en release notes 2019-12-11 16:02:31 +01:00
Davide De Rosa 46854fe45d Set beta release 2019-12-11 14:07:54 +01:00