Skip to content

Commit be4fb67

Browse files
committed
work
1 parent 178dd38 commit be4fb67

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/release-branch-build-tools.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ async function processBuildInstruction(instruction, release) {
184184
*/
185185
async function processNightlyBuildInstructions(instructions) {
186186
const releaseSuffix = getReleaseDateString();
187-
let release = buildState({
187+
let release = new buildState({
188188
fallbackVersion: transformVersionsToNightlyBuildVersion('0.0.1', releaseSuffix), // version to use for previously unreleased packages
189189
dependencyVersions: await getPackageVersionsForBuildInstructions(instructions, releaseSuffix),
190190
});
@@ -193,6 +193,8 @@ async function processNightlyBuildInstructions(instructions) {
193193
await fetchPackagistList('mage-os');
194194

195195
for (const instruction of instructions) {
196+
// Set the ref for this specific instruction
197+
release.ref = instruction.ref;
196198
await processBuildInstruction(instruction, release);
197199
}
198200
}

0 commit comments

Comments
 (0)