Commit graph

138 commits

Author SHA1 Message Date
Marc Durdin
85fd8a53d9 chore: fix trigger for beta branches 2020-12-15 08:14:57 +11:00
Marc Durdin
4cc830a918 chore: re-trigger beta 2020-12-15 08:03:03 +11:00
Marc Durdin
af4a04ff47 fix: build trigger definitions 2020-12-15 07:48:11 +11:00
Marc Durdin
b888a6075b fix(common): improve increment-version robustness
Fixes #4061.

Four things:

1. Reorder the script steps so that builds are triggered before the PR
   is created. This should not really be necessary, but I am seeing some
   evidence that TeamCity is not respecting the commit sha we request to
   build. (This arose with 14.0.194 where a build agent became
   unavailable during a build and TC cancelled and restarted the build,
   but from a later revision... which this particular fix may not help,
   I guess...)
2. Add debug logging so we can see exactly which commit sha that we
   send to TeamCity
3. Handle errors in version increment by aborting the script with an
   error.
4. Add a -f force mode which we can use to trigger a build even if no
   changes are detected. This will need a corresponding patch in TC.
2020-12-03 10:24:19 +11:00
Darcy Wong
7089081433 chore(common/resources): Clean up README 2020-12-02 11:21:06 +07:00
Marc Durdin
fb36fc3f69 chore(common): remove --first-parent when searching for PRs
Instead of just reporting on --first-parent, now lists all merges that
are in the log, which means we get some non-PR merges but that's ok. At
least we get all of them.

This was most visible with chained PRs which were merged bottom-up.
2020-11-26 09:49:21 +11:00
Marc Durdin
fd1b200c02 chore(common): improve build README.md
The background reason for this is to test a fix to the web build, where
s.keyman.com resources were not being updated since we refactored the
build configurations (sadly, the build did not die when it should have).
2020-11-04 08:54:28 +11:00
dependabot[bot]
f63831374f
chore(deps): bump @actions/core in /resources/build/version
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.2.2 to 1.2.6.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-01 17:29:43 +00:00
dependabot[bot]
3fc56a0ee5
chore(deps): bump node-fetch in /resources/build/version
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-11 18:02:30 +00:00
Eberhard Beilharz
135121ed68
docs(common): Clarify l10n readme
Up- and download from Crowdin now happen automatically on GitHub
(at least once it's enabled again).
2020-08-21 11:41:36 +02:00
Eberhard Beilharz
11f018366b
feat(linux): Add i18n for Linux 2020-08-19 19:22:33 +02:00
Darcy Wong
709e43d45c fix(android): export all the VERSION vars 2020-08-06 11:40:21 +07:00
Darcy Wong
fe09ac73fe fix(android/app): Fix environment portion of app version string
When displaying the Info page of alpha builds from the Play Store, we noticed the version string displayed the wrong environment:
`14.0.X-alpha-local` (CI builds should have ended with `-alpha`).

It turns out  the `VERSION_` shell variables  from `build-utils.sh` aren't visible in `version.gradle` (though CI environment variables like `build_counter` are visible).

This PR:
* Exports the two VERSION strings needed in version.gradle
* Updates the Info page to simply display `BuildConfig.VERSION_NAME`
2020-08-06 10:34:26 +07:00
Marc Durdin
66a2d9b350 chore: unify crowdin.yml
This is groundwork for most likely using the Crowdin Github integration
and should simplify the management, I hope...
2020-07-29 10:21:51 +10:00
Marc Durdin
d085467001 feat(windows): Crowdin i18n groundwork 2020-07-27 15:09:30 +10:00
Darcy Wong
ef11647b5a feat(android): Use build-download-resources.sh for KMApro and FV apps
Follow-on to #3300

* Update the FV Android app to use the same build script to download its default keyboard package. (fv_all.kmp)
    * This means downloading fv_all.kmp is the only valid option for the build (remove option to copy/rebuild keyboards)
* Reduce the number of exports in the Bash scripts
* Also removes sil_euro_latin.kmp since the app will fallback to fv_all/sil_euro_latin (in a future PR)
2020-07-08 14:03:02 +07:00
Darcy Wong
4b153468f9 fix(android): Avoid build-utils.sh from getting called multiple times 2020-07-01 15:36:02 +07:00
Darcy
7150931dab fix(android): Address review comments 2020-07-01 11:50:31 +07:00
Darcy Wong
63857437d0 feat(android/resources): Split package download to resources/ scriipt 2020-06-30 16:11:20 +07:00
jahorton
50e801a45b refactor(common/resources): module for building Web's environment.inc.ts 2020-06-17 10:14:05 +07:00
jahorton
b783283321 docs(common): adds PR-review requested comments 2020-05-28 10:16:34 +07:00
jahorton
5ae040c48f chore(ios): Merge branch 'master' into change/ios/sentry-upload-parameter 2020-05-27 12:58:42 +07:00
jahorton
2cc013bd33 change(ios): better UPLOAD_SENTRY default implementation 2020-05-27 12:45:10 +07:00
jahorton
aaccc64f63 change(common): makes VERSION_ENVIRONMENT -> release logic common code 2020-05-25 14:08:28 +07:00
Eddie Antonio Santos
d6c7a244c9
docs(common/resources): update outdated comment 2020-05-20 09:25:25 -06:00
Eddie Antonio Santos
b74b945455
chore: add common/models to build trigger definitions 2020-05-20 09:20:02 -06:00
Joshua Horton
3aaebc44d7
Merge branch 'master' into feat/web/sentry-start 2020-05-20 15:21:04 +07:00
Marc Durdin
4cffea7a24 chore(common/resources): cleanup script filenames 2020-05-19 17:39:17 +10:00
Marc Durdin
13b44a7e30 chore(common/resources): use shared scopes definition
This starts the shared scope definition. First cab off the rank is commit-msg
2020-05-19 17:08:57 +10:00
jahorton
849cda09bb feat(web): starts base-level sentry linkage/testing setup 2020-05-13 10:07:12 +07:00
Marc Durdin
4a2e8e1673 fix(common): npm install required for auto inc lerna versions 2020-05-06 16:36:41 +10:00
Marc Durdin
7a1e454303
Merge pull request #3078 from keymanapp/feat/common/package-versioning
feat(common): auto-update for package versioning
2020-05-06 16:28:07 +10:00
jahorton
f6df4f480c feat(common): auto-update for package versioning 2020-05-04 14:17:06 +07:00
Marc Durdin
41857c65af fix(common): enable build for win x64 and use global VERSION.md 2020-05-04 15:06:08 +10:00
Marc Durdin
34c157ae8a
Merge pull request #3006 from keymanapp/fix/windows/sentry-cleanup
feat(windows): Sentry integration fixes and polish
2020-04-30 09:39:21 +10:00
Marc Durdin
214bd4652e chore(windows): Merge branch 'master' into fix/windows/sentry-cleanup 2020-04-30 05:04:13 +10:00
dependabot[bot]
91de1f7dd4
chore(deps): bump @actions/http-client in /resources/build/version
Bumps [@actions/http-client](https://github.com/actions/http-client) from 1.0.3 to 1.0.8.
- [Release notes](https://github.com/actions/http-client/releases)
- [Changelog](https://github.com/actions/http-client/blob/master/RELEASES.md)
- [Commits](https://github.com/actions/http-client/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-04-29 18:00:07 +00:00
Marc Durdin
336f30c514 fix(windows): support jq-win64 2020-04-29 12:41:07 +10:00
Marc Durdin
aa22a3757a fix(ios): use environment and version-with-tag for sentry 2020-04-28 11:35:59 +10:00
Marc Durdin
e09b081a34 fix(windows): cleanup release and environment for Sentry 2020-04-20 07:07:39 +10:00
jahorton
57b7a0b3b0 refactor(web/engine): adds build-inner-core.sh, successful compilation 2020-04-03 15:47:21 +07:00
Darcy Wong
c334665609 chore(common): Cleanup unused folders and update README
Crowdin CLI doesn't extract into a temporary .crowdin-tmp folder so that can be removed. (.crowdin-tmp was used in prior Bash scripts).

Also moved note about using a VPN to the wiki https://github.com/keymanapp/keyman/wiki/Crowdin-CLI
2020-03-30 11:03:22 +07:00
Darcy Wong
9aea82f5d3 feat(ios): Add crowdin CLI for iOS 2020-03-28 07:55:28 +07:00
Darcy Wong
4f138d96e8 feat(android): Simplify paths
* also remove parse-crowdin scripts
2020-03-28 07:08:29 +07:00
Darcy Wong
ebf08f12ad feat(common): Start to use crowdin CLI (v3) 2020-03-26 16:30:50 +07:00
Marc Durdin
eade8c34f3 refactor(windows): Use 14.0-style versioning
Moves all version construction to use VERSION.md and
TIER.md and reduces intermediate file usage, so we can
present sensible versions across the project.
2020-03-18 17:25:39 +11:00
Marc Durdin
e33f24cd36 fix(common): build check failed
Build check was failing due to parse issues with
using sed to parse json. Went the jq route. Adding
to this PR because this PR had the issue...
2020-03-18 14:55:37 +11:00
Marc Durdin
fa725d8810
Merge pull request #2819 from keymanapp/feat/ci/finalize-releases-for-sentry
feat(common): add release finalization for Sentry
2020-03-13 14:57:08 +11:00
Darcy Wong
7bddbd65e0
Merge pull request #2801 from keymanapp/feat/android/parse-crowdin
feat/common/parse-crowdin Add script to parse crowdin translation file
2020-03-13 07:36:56 +07:00
Joshua Horton
9d01c7d37b
Merge pull request #2809 from keymanapp/fix/web/minified-sourcemaps
fix(web): enhanced sourcemaps + proper sourcemaps for minified KMW
2020-03-13 06:48:53 +07:00