-
Notifications
You must be signed in to change notification settings - Fork 45
chore: re-release Command Line SDK 21.0.0 #316
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| min-release-age=7 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,5 @@ | ||
| [loader] | ||
| ".hbs" = "text" | ||
|
|
||
| [install] | ||
| minimumReleaseAge = 604800 # 7d |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -498,7 +498,7 @@ function whitelistKeys<T = any>( | |
| } | ||
|
|
||
| class Config<T extends ConfigData = ConfigData> { | ||
| readonly path: string; | ||
| path: string; | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removing |
||
| protected data: T; | ||
|
|
||
| constructor(path: string, autoRead = true) { | ||
|
|
@@ -509,10 +509,6 @@ class Config<T extends ConfigData = ConfigData> { | |
| } | ||
| } | ||
|
|
||
| protected usePath(path: string): void { | ||
| (this as { path: string }).path = path; | ||
| } | ||
|
|
||
| read(): void { | ||
| try { | ||
| const file = fs.readFileSync(this.path).toString(); | ||
|
|
@@ -655,7 +651,7 @@ class Local extends Config<ConfigType> { | |
| Local.findConfigFileInCwd(legacyPath) || | ||
| _path.join(process.cwd(), path); | ||
|
|
||
| this.usePath(absolutePath); | ||
| this.path = absolutePath; | ||
| this.configDirectoryPath = _path.dirname(absolutePath); | ||
| this.rootData = {}; | ||
| this.includePaths = {}; | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The verification step previously exited non-zero when a signature check failed, blocking the publish job. With the new code, any failure only emits a
::warning::and the step exits 0 — so a release can proceed and reach npm/GitHub Releases/Homebrew with unsigned (or malformed-signature) Windows binaries. If the Windows signing infrastructure is not yet ready, the safer option is to gate publishing on signing being available rather than silently shipping unsigned artifacts to end users who may be relying on Authenticode trust for security decisions.