mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-10 10:55:33 +00:00
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. |
||
|---|---|---|
| .. | ||
| src | ||
| .gitignore | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| tsconfig.production.json | ||
Version increment and automatic history maintenance
This node module automatically refreshes HISTORY.md with titles from the latest pull requests merged since the last automatic version increment, and if any history has been found, increments the version, and creates a PR for the increment.
It is wrappered by ../increment-version.sh for normal CI usage.