Commit graph

22 commits

Author SHA1 Message Date
Marc Durdin
377b1056ec maint(resources): rename KEYMAN_VERSION_FOR_PR_FILENAME
Address review comment from #14703.

Test-bot: skip
Build-bot: skip
Relates-to: #14703
Relates-to: #10521
2025-09-10 11:17:41 +02:00
Marc Durdin
ac81f49d28 maint(ios): use versioned filenames for PR artifacts
Relates-to: #10521
Test-bot: skip
Build-bot: skip release:ios
2025-09-08 12:40:36 +02:00
Marc Durdin
f394245636 maint(common): consolidate builder scripts
Clarifies the confusing builder.inc.sh / build-utils.sh distinction by
giving the scripts more appropriate names. Most build scripts should use
builder-full.inc.sh; some helper scripts can use builder-basic.inc.sh.
Documented in resources/build/README.md.

Renames:
* resources/build/builder.inc.sh to resources/build/builder-full.inc.sh
* resources/build/build-utils.sh to resources/build/builder-basic.inc.sh

Other changes:
* Moves Android-specific functions out of builder-basic.inc.sh and into
  android/build.sh.
* Renames functions in builder-basic.inc.sh

More functions may be moved from builder-basic.inc.sh into utils.inc.sh
or other scripts in the future.

Fixes: #14065
Build-bot: build all
Test-bot: skip
2025-08-02 08:11:24 +10:00
Marc Durdin
65158a0526 maint(common): rename shellHelperFunctions.sh to utils.inc.sh
Adds documentation for various functions, removes unused functions (a
couple of simple, very lightly used functions were unDRYed; these could
go back the other way across all shell scripts if necessary). TODO items
noted for follow-up refactoring.

Fixes: #14275
Relates-to: #14269
Build-bot: build all
Test-bot: skip
2025-08-02 06:58:40 +10: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
Darcy Wong
acc4aba32c fix(ios): Apply review comments
* Change zip_files to add_zip_files
* Clarify flags used for zip vs 7z
* Use `zip-excludes` instead of `excludes.in` for the list of file to exclude from the archive
2025-05-23 05:57:25 +07:00
Darcy Wong
6e8f961749 maint(ios): Convert some zip flags for 7z 2025-05-19 09:39:03 +07:00
Darcy Wong
38be1d9b23 maint(ios): Update zip_files calls 2025-05-18 06:48:19 +07:00
Darcy Wong
790d76a925 maint(ios): Use zip.inc.sh to prep release artifacts 2025-05-15 10:37:31 +07:00
Eberhard Beilharz
4d81589f48
maint(common): use unique names for Keyman version variables
Previously the builder scripts defined a readonly `VERSION` environment
variable for the Keyman version. That caused problems when another
(external) script tried to define a `VERSION` variable. We encountered
this problem when trying to move the TC build steps of a configuration
into a single script (#13399) when we tried to source `~/.nvm/nvm.sh`.

This change uses a Keyman specific prefix for the version variables and
renames `VERSION` → `KEYMAN_VERSION` etc. Unfortunately these variables
are used in a lot of places, so this turned out to be a bit of a yak
shave.

Test-bot: skip
2025-05-07 18:46:51 +02:00
Marc Durdin
db514e0dc5 fix(common): update emoji stripping for Unicode 15.1
Fixes #11220.

Replaces the sed script for matching emoji in ios prepRelease with a
tiny node project that uses emoji-regex package, to reduce future
maintenance.

Also strips lingering emoji and :xxx: emoji shortcut strings from
HISTORY.md. Note that :xxx: are not stripped programatically at this
time.
2024-04-18 09:05:30 +07:00
Joshua A. Horton
90a08f1d55 change(ios): mass rework of ios-related scripts 2023-06-27 10:33:37 +07:00
Marc Durdin
e007a8acb6 chore(ios): fix typos and gaps in build script 2023-05-02 12:41:50 +07:00
Marc Durdin
ce864ea923 chore: update standard script prolog to use builtin instead of dirname 2023-02-22 11:04:15 +07:00
Marc Durdin
463c7ff907 chore: remove greadlink from standard script prolog 2023-02-22 10:43:06 +07:00
Joshua Horton
0997dc34a8
chore(ios): Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2021-08-09 08:22:57 +07:00
jahorton
ec68bb12c7 fix(ios): .app is folder; artifact as .zip of .app 2021-08-06 10:30:57 +07:00
jahorton
89d5a0bd9e fix(ios): sim artifact uses .app, not .ipa 2021-08-06 09:28:25 +07:00
jahorton
70f6cda8eb fix(ios): missed a spot in prepRelease 2021-08-06 07:52:48 +07:00
jahorton
15a5319ffb chore(ios): prep-release script tweak 2021-08-05 14:41:11 +07:00
jahorton
fef3d9935f fix(ios): replaces TC build var 2021-05-27 07:54:35 +07:00
jahorton
31d384c926 chore(ios): imports iOS artifact-upload script for CI use 2021-05-25 11:25:30 +07:00