Fix publish script one more time (#3010)
follow up to #3009 the versions.ts files were not being updated since things had been added and moved around ### Change Type - [ ] `patch` — Bug fix - [ ] `minor` — New feature - [ ] `major` — Breaking change - [ ] `dependencies` — Changes to package dependencies[^1] - [ ] `documentation` — Changes to the documentation only[^2] - [ ] `tests` — Changes to any test code only[^2] - [x] `internal` — Any other changes that don't affect the published package[^2] - [ ] I don't know [^1]: publishes a `patch` release, for devDependencies use `internal` [^2]: will not publish a new version ### Test Plan 1. Add a step-by-step description of how to test your PR here. 2. - [ ] Unit Tests - [ ] End to end tests ### Release Notes - Add a brief release note for your PR here.
This commit is contained in:
parent
21cc1c1345
commit
ba26324058
5 changed files with 7 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
|||
// This file is automatically generated by scripts/refresh-assets.ts.
|
||||
// Do not edit manually. Or do, I'm a comment, not a cop.
|
||||
|
||||
export const version = '2.0.0-beta.5'
|
||||
export const version = '2.0.0-beta.6'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file is automatically generated by scripts/refresh-assets.ts.
|
||||
// Do not edit manually. Or do, I'm a comment, not a cop.
|
||||
|
||||
export const version = '2.0.0-beta.5'
|
||||
export const version = '2.0.0-beta.6'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file is automatically generated by scripts/refresh-assets.ts.
|
||||
// Do not edit manually. Or do, I'm a comment, not a cop.
|
||||
|
||||
export const version = '2.0.0-beta.5'
|
||||
export const version = '2.0.0-beta.6'
|
||||
|
|
|
@ -14,7 +14,7 @@ async function main() {
|
|||
: latestVersion?.inc(bump)
|
||||
const versionString = `${nextVersion.major}.${nextVersion.minor}.${nextVersion.patch}-canary.${sha}`
|
||||
|
||||
setAllVersions(versionString)
|
||||
await setAllVersions(versionString)
|
||||
}
|
||||
|
||||
// module was called directly
|
||||
|
|
|
@ -72,7 +72,7 @@ async function main() {
|
|||
|
||||
console.log('Releasing version', nextVersion)
|
||||
|
||||
setAllVersions(nextVersion)
|
||||
await setAllVersions(nextVersion)
|
||||
|
||||
// stage the changes
|
||||
const packageJsonFilesToAdd = []
|
||||
|
@ -83,9 +83,10 @@ async function main() {
|
|||
}
|
||||
await exec('git', [
|
||||
'add',
|
||||
'--update',
|
||||
'lerna.json',
|
||||
...packageJsonFilesToAdd,
|
||||
REPO_ROOT + '/packages/*/src/**/version.ts',
|
||||
REPO_ROOT + '/**/*/version.ts',
|
||||
])
|
||||
|
||||
const auto = new Auto({
|
||||
|
|
Loading…
Reference in a new issue