@@ -70,6 +70,10 @@ class CLI extends Node
7070 'executableName ' => 'executable ' ,
7171 'logo ' => '' ,
7272 'logoUnescaped ' => '' ,
73+ 'homebrewMacArm64Sha256 ' => '0000000000000000000000000000000000000000000000000000000000000000 ' ,
74+ 'homebrewMacX64Sha256 ' => '0000000000000000000000000000000000000000000000000000000000000000 ' ,
75+ 'homebrewLinuxArm64Sha256 ' => '0000000000000000000000000000000000000000000000000000000000000000 ' ,
76+ 'homebrewLinuxX64Sha256 ' => '0000000000000000000000000000000000000000000000000000000000000000 ' ,
7377 ];
7478
7579 /**
@@ -150,6 +154,21 @@ public function setLogoUnescaped(string $logo): self
150154 return $ this ;
151155 }
152156
157+ /**
158+ * Override a generated Homebrew formula checksum placeholder when a release
159+ * build already knows the target binary SHA256.
160+ *
161+ * @param string $key
162+ * @param string $sha256
163+ * @return $this
164+ */
165+ public function setHomebrewSha256 (string $ key , string $ sha256 ): self
166+ {
167+ $ this ->setParam ($ key , $ sha256 );
168+
169+ return $ this ;
170+ }
171+
153172 /**
154173 * Convert string to kebab-case.
155174 * @param string $value
@@ -333,6 +352,11 @@ public function getFiles(): array
333352 'destination ' => 'lib/parser.ts ' ,
334353 'template ' => 'cli/lib/parser.ts ' ,
335354 ],
355+ [
356+ 'scope ' => 'copy ' ,
357+ 'destination ' => 'lib/response-config.ts ' ,
358+ 'template ' => 'cli/lib/response-config.ts ' ,
359+ ],
336360 [
337361 'scope ' => 'copy ' ,
338362 'destination ' => 'lib/questions.ts ' ,
0 commit comments