Commit graph

1804 commits

Author SHA1 Message Date
Eberhard Beilharz
b620a260c8
Merge pull request #14331 from keymanapp/maint/mac/fixrelease
We already run `build.sh publish` as part of the regular release build in `macos_build_action`, so we don't have to call it again.
2025-07-10 17:01:24 +02:00
Eberhard Beilharz
c18609914a
Merge pull request #14330 from keymanapp/maint/mac/improvetc 2025-07-10 17:00:59 +02:00
Eberhard Beilharz
9b40e0fdbf
maint(mac): don't run build.sh publish twice
We already run `build.sh publish` as part of the regular release
build in `macos_build_action`, so we don't have to call it again.

Build-bot: skip
Test-bot: skip
2025-07-10 11:17:18 +02:00
Eberhard Beilharz
3f8dc44b73
maint(mac): fix end of blocks
Test-bot: skip
2025-07-10 11:06:22 +02:00
Eberhard Beilharz
11288f9868
maint(android): fix Android release build
Uses absolute paths for zipping files.

Follow-up-of: #14308
Build-bot: skip
Test-bot: skip
2025-07-10 10:57:00 +02:00
Eberhard Beilharz
6f737f6070
Merge pull request #14323 from keymanapp/maint/windows/14202_symbols
Fixes: #14202
2025-07-09 18:35:36 +02:00
Eberhard Beilharz
e915ccd93d
Merge pull request #14322 from keymanapp/maint/developer/fixrelease
`keyman-developer-release.sh` calls the `write_download_info` function but neglected to source the `shellHelperFunctions.sh` file which defines that function. Thus this change fixes the release build.
2025-07-09 18:35:07 +02:00
Eberhard Beilharz
b7466f7b35
Merge pull request #14321 from keymanapp/maint/windows/fixrelease
The .download_info files use the platform `win` instead of `windows`. This PR changes this, and also renames the `_verify_project` function to `_verify_platform` to better match what it's checking. Fixes Windows release builds.

Follow-up-of: #14270
2025-07-09 18:34:39 +02:00
Eberhard Beilharz
94242982fc
Merge pull request #14308 from keymanapp/maint/android/improvepaths
This is a small refactoring to use full, absolute paths when copying files and changing directories. This makes it clearer to see where those directories/files are located.
2025-07-09 16:34:03 +02:00
Eberhard Beilharz
98159ae746
maint(windows): replace hardcoded symbols paths with parameters
Only touches release build files, so skipping PR test builds.

Fixes: #14202
Build-bot: skip
Test-bot: skip
2025-07-09 16:30:18 +02:00
Eberhard Beilharz
8f0206329b
Update resources/shellHelperFunctions.sh
Co-authored-by: Darcy Wong <darcy_wong@sil.org>
2025-07-09 16:09:02 +02:00
Eberhard Beilharz
428b611eff
maint(developer): add missing include file 🩹
`keyman-developer-release.sh` calls the `write_download_info` function
but neglected to source the `shellHelperFunctions.sh` file which
defines that function. Thus this change fixes the release build.

Build-bot: skip
Test-bot: skip
2025-07-09 12:06:17 +02:00
Eberhard Beilharz
479a0da739
maint(windows): fix platform name for Windows 🩹
The .download_info files use the platform `win` instead of `windows`.
This PR changes this, and also renames the `_verify_project` function
to `_verify_platform` to better match what it's checking. Fixes Windows
release builds.

Test-bot: skip
2025-07-09 12:01:13 +02:00
Eberhard Beilharz
3c7304e8bd
maint(android): remove --ci parameter from Android release builds
PR #14264 removed the `--ci` parameter from Android builds, but forgot to
remove it for release builds. This PR fixes this.

Follow-up-of: #14264
Build-bot: skip
Test-bot: skip
2025-07-09 11:52:13 +02:00
Eberhard Beilharz
dd30a13345
maint(resources): fix triggering of builds
Fixes: #14313
Follow-up-of: #14274
Test-bot: skip
2025-07-08 13:35:15 +02:00
Eberhard Beilharz
d1124504af
maint(common): remove include of deleted tc-download-info.inc.sh
This fixes the release builds.

Follow-up-of: #14270
Build-bot: skip
Test-bot: skip
2025-07-07 21:03:33 +02:00
Eberhard Beilharz
a25202530e
maint(common): consolidate write_download_info functions
Fixes: #14259
Build-bot: skip
Test-bot: skip
2025-07-07 18:51:37 +02:00
Eberhard Beilharz
38f43d84cf
refactor(common): some reformattings in shellHelperFunctions.sh
Also always include `jq.inc.sh`. The include file already has everything
we did here.

Test-bot: skip
2025-07-07 18:44:28 +02:00
Eberhard Beilharz
24246b80ff
maint(android): use absolute paths
This is a small refactoring to use full, absolute paths when copying files
and changing directories. This makes it clearer to see where those
directories/files are located.

Build-bot: skip
Build-bot: build android
Test-bot: skip
2025-07-07 17:44:59 +02:00
Eberhard Beilharz
0a5342150d
maint(android): use --release for release builds
This will fix the Android release builds. Previously we did a debug
build but then tried to copy files from the release build folder.

The original build config passed `--release` when doing a release build,
which lost when moving to build scripts.

Fixes: #14302
Build-bot: skip
Build-bot: release android
Test-bot: skip
2025-07-07 17:34:08 +02:00
Marc Durdin
8059fc769c
Merge pull request #14279 from keymanapp/maint/common/14278-trigger-common-builds-for-tc-common-changes
maint(common): trigger common builds for resources/teamcity/common changes
2025-07-04 08:34:05 +07:00
Marc Durdin
06af8b29a1
Merge pull request #14274 from keymanapp/fix/common/trigger
fix(common): fix triggering builds if no builds to start
2025-07-04 06:35:56 +07:00
Marc Durdin
f7d4c15e60
Merge branch 'master' into maint/common/14278-trigger-common-builds-for-tc-common-changes 2025-07-04 06:34:57 +07:00
Marc Durdin
94efd2c639 maint(common): trigger common builds for resources/teamcity/common changes
Also removes old paths from triggers, and updates comments on matched
patterns.

Fixes: #14278
Test-bot: skip
2025-07-04 07:58:32 +10:00
Marc Durdin
ca14da0e79 maint(common): match OSTYPE correctly on macOS
Fixes: #14276
2025-07-04 07:39:11 +10:00
Marc Durdin
139bfb2b77
Merge pull request #14271 from keymanapp/fix/core/build
fix(core): fix failing `common-test-core.sh` script
2025-07-04 04:27:47 +07:00
Marc Durdin
410fcb36e7
Merge pull request #14265 from keymanapp/refactor/resources/shebang
refactor(resources): replace shebang for TC include files
2025-07-04 04:27:21 +07:00
Marc Durdin
975759ecf6
Merge pull request #14264 from keymanapp/maint/android/removeci
maint(android): remove `--ci` parameter from android builds
2025-07-04 04:27:08 +07:00
Marc Durdin
2a1a05c7f5
Merge pull request #14272 from keymanapp/fix/ios/release
maint(ios): remove extra `cd` command from ios release builds
2025-07-04 04:26:58 +07:00
Eberhard Beilharz
cbcbae473e
fix(common): fixes triggering builds if no builds to start
If the PR only contains files that we ignore, we previously failed to
finish the trigger build. This PR fixes the problem.

The problem can be observed in #14271 which only changed a file in
`resources/teamcity/common` which gets ignored in `find_platform_changes`.

Test-bot: skip
2025-07-03 21:07:45 +02:00
Eberhard Beilharz
3e40632674
fix(mac): fix release build
Skipping builds since the changed code only affects TC release builds.

Build-bot: skip
Test-bot: skip
2025-07-03 20:32:20 +02:00
Eberhard Beilharz
4c8450a0d6
fix(ios): fix ios release builds
We did already cd into that directory a few lines above.

Build-bot: skip
Test-bot: skip
2025-07-03 20:29:11 +02:00
Eberhard Beilharz
366bd1c855
fix(core): fix failing common-test-core.sh script
Also pass `win` for Windows which will build both x86 and x64.

Test-bot: skip
2025-07-03 20:21:17 +02:00
Eberhard Beilharz
5a1bf52727
refactor(resources): replace shebang for include files
Include files are not directly executable, so it doesn't make sense to
have the shebang line. However, shellcheck needs to know what shell we
use. Turns out there is a shellcheck line that we can add instead of
the shebang line.

Follow-up-of: #14253
Build-bot: skip
Test-bot: skip
2025-07-03 17:57:02 +02:00
Eberhard Beilharz
8d1ad1e6cf
Merge pull request #14239 from keymanapp/maint/mac/14190_tconfig 2025-07-03 17:48:50 +02:00
Eberhard Beilharz
2a69a43dc3
Merge pull request #14229 from keymanapp/maint/ios/14189_tconfig 2025-07-03 17:48:37 +02:00
Eberhard Beilharz
9c9d48b5be
Merge pull request #14258 from keymanapp/maint/linux/rsync 2025-07-03 17:48:23 +02:00
Eberhard Beilharz
fd49707153
Merge pull request #14222 from keymanapp/maint/android/14188_tcconfig 2025-07-03 17:48:06 +02:00
Eberhard Beilharz
ecd3f9a1fa
maint(android): remove --ci parameter from android builds
`--ci` is deprecated since the current code discovers automatically
when we're building on CI, so we don't have to pass that option when
calling the `android/build.sh` script.

Also remove the option itself since we're no longer using it.

Build-bot: build android
Test-bot: skip
2025-07-03 17:43:22 +02:00
Eberhard Beilharz
841fd3efa1
maint(android): fix previous commit 2025-07-03 17:13:17 +02:00
Eberhard Beilharz
1bb3f96702
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-07-03 13:32:45 +02:00
Eberhard Beilharz
e3ad0975a9
maint(android): address code review comments
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-07-03 13:26:29 +02:00
Eberhard Beilharz
436b4f3543
chore(windows): Merge branch 'master' into maint/windows/13399_tconfig 2025-07-03 13:04:09 +02:00
Eberhard Beilharz
684672f9c0
Merge pull request #14255 from keymanapp/maint/developer/fixrelease
Refactors the Powershell scripts that download and upload files and create .download_info files.

This change is based on #14236/#14254 which bypasses the path rewriting that msys does when calling Windows rsync.
2025-07-03 12:58:34 +02:00
Eberhard Beilharz
366bc304bf
Merge pull request #14254 from keymanapp/maint/web/rsync 2025-07-03 12:54:53 +02:00
Eberhard Beilharz
401edd9456
Merge pull request #14253 from keymanapp/refactor/common/downloads-script
- add shebang so that shellcheck knows what shell we use 
- fix line endings
2025-07-03 12:53:11 +02:00
Eberhard Beilharz
b92a642ec8
Merge pull request #14205 from keymanapp/main/common/14187_tcconfig 2025-07-03 12:45:31 +02:00
Eberhard Beilharz
d981e0a5c0
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-07-03 12:45:08 +02:00
Eberhard Beilharz
6c4b3b3d10
Update resources/teamcity/windows/keyman-windows-release.sh
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-07-03 12:41:43 +02:00
Eberhard Beilharz
f38eaa1295
maint(developer): replace Powershell scripts
Refactors the Powershell scripts that download and upload files and
create .download_info files.

This change is based on #14236/#14254 which bypasses the path rewriting
that msys does when calling Windows rsync.

Fixes: #14226
Related: #14236
Build-bot: skip
Test-bot: skip
2025-07-02 19:14:08 +02:00