-
-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(common): package version maintenance adjustments #3872
Comments
Disabling step 9 "Publish Developer NPM modules" of Keyman Desktop/Developer CI build (-publish-to-npm) until we get this resolved. |
@jahorton wrote:
|
I've added a temporary patch to step 9 of the CI build script but we should presumably revisit this to clean that up. |
I advise cross-referencing with #4291, which made some changes that should simplify whatever the needed approach is. At the very least, the original underlying issue (different versions among the npm packages during Developer builds) is no more. |
Yeah, at this point I've got no idea what we need to do here. Things seem to be working smoothly in general, so I'm hesitant to barge in and make changes! |
I'd want to revisit these points and run a test build - can we re-enable and/or restore the original version of the corresponding step in our build scripts without issue? |
See also #6074 for other possible interactions |
Package versions should be fixed by now |
As noted during work on #3836, the kmlmc build needed for Developer's unit tests (during a Windows/Developer build) is triggering a version change within our
node
-based packages that cause later sub-builds (which rely on the original version value) to fail.From the TC build logs:
I've traced that section of the logs to this part of the build script:
keyman/developer/js/build.sh
Lines 130 to 143 in af2e4b1
So, it appears that Developer's build is setting
$publish_version
, so when running the unit-testing Makefile it's incidentally altering the package.jsonversion
entry that causes the break during later sub-builds.Originally posted by @jahorton in #3836 (comment)
As noted during team discussions, we should (ideally) rectify this detail by having the committed version of our packages always using tagged versions, instead of having the tier / environment tags only applied during builds. Applying the tier automatically shouldn't pose any issue, though there likely would be a bit of work required to ensure local development builds aren't adversely affected or dual-tagged (like
-alpha-local
)... unless, of course, we're fine with potential dual-tagging.The text was updated successfully, but these errors were encountered: