Commit Graph

31 Commits

Author SHA1 Message Date
Davide c0dc2181e3
Complete CI/CD release workflow (#958)
Import current metadata and screenshots.

Fixes #647
2024-11-27 19:10:23 +01:00
Davide 2de5aad093
Improve bump script with positional arguments (#957)
Get rid of the messy `bump*.sh` scripts variants with a single one with
positional arguments (all optional):

- -v: the new version number (default: current)
- -b: the new build number (default: current + 1)
- -s: the initial build for the CHANGELOG diff (default: latest tag)
- -na: do not update the API (default: do update it)
- -nl: do not update the CHANGELOG (default: present editor)
- -d: dry run

Fixes #948
2024-11-27 17:08:00 +01:00
Davide 54f4364c33
Split test jobs (#855)
Move Core Data tests out of the Library package so that we can still use
the more efficient `swift test` for most tests.

Create a PassepartoutTests target only for tests that require
`xcodebuild`, like Core Data tests.

Eventually:

- PRs only run SwiftPM tests
- Releases run ALL tests with `scan` before `gym`
2024-11-12 18:35:44 +01:00
Davide e514ade036
Add logic to migrate v2 profiles (#854)
Will add UI separately.

Fixes #642
2024-11-12 16:42:19 +01:00
Davide fdd8716d2f
Add bump since git ref 2024-11-07 18:35:34 +01:00
Davide 7ac5d3ce23
Omit commit SHA1 from CHANGELOG
Unreadable without monospace.
2024-10-29 16:02:23 +01:00
Davide 2517c4b39b
Revert CHANGELOG on cancel 2024-10-11 19:54:42 +02:00
Davide f66193cf78
Several fixes in ProfileManager (#685)
- [x] Search not accounted for when reloading profiles
- [x] Remote profile being saved twice
- [x] Add some logging
2024-10-04 20:58:11 +02:00
Davide De Rosa e1922e7535
Include log name in commit regardless 2024-09-30 21:15:50 +02:00
Davide De Rosa e4268fed24
Bump without altering CHANGELOG 2024-09-30 18:11:11 +02:00
Davide De Rosa e2a996d878
Edit CHANGELOG after bump 2024-09-30 17:44:34 +02:00
Davide De Rosa 82126a72f1
Strip changelog newlines 2024-09-25 16:43:09 +02:00
Davide bce2694694
Fix lookup of pilot metadata (#601)
- [x] Fetch app version/build without agvtool, unavailable on
ubuntu-latest
- [x] Move TestFlight preface to a repository variable
- [x] Move TestFlight URL to README instead
2024-09-24 17:51:01 +02:00
Davide a665670cf7
Add job for public beta deployment (#600)
Closes #599
2024-09-24 11:17:52 +02:00
Davide De Rosa ccc0cd7ce0
Prepend to TestFlight CHANGELOG
Fixes #598
2024-09-23 19:33:21 +02:00
Davide De Rosa a0b37676a0
Update and split bump scripts 2024-09-23 15:26:42 +02:00
Davide 6cc86e8668
Import v3 code (#597)
Closes #565
2024-09-23 15:02:26 +02:00
Davide De Rosa 157f336184 Embed fastlane scripts locally
Drop submodule.
2022-10-04 08:20:06 +02: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 6eee983769 Fix unnecessary API key call in lane 2021-10-16 12:35:04 +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 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 9b2582c453 Update fastlane templates 2020-05-23 15:42:13 +02:00
Davide De Rosa 8c580c2143 Reuse fastlane templates from submodule 2019-10-11 18:44:53 +02:00
Davide De Rosa 42f204c136 Refactor fastlane scripts 2019-09-30 14:21:07 +02:00
Davide De Rosa 75859e1ebd Submit dev builds to App Center 2019-03-21 22:20:53 +01:00
Davide De Rosa faa63523e8 Add scripts to update provisioning profiles 2019-03-05 23:01:25 +01:00
Davide De Rosa 60a6dfda79 Fix TestFlight app description 2018-10-23 19:21:47 +02:00
Davide De Rosa b9ec01945d Initial commit 2018-10-11 09:13:19 +02:00