Skip to content

Commit eb7d562

Browse files
committed
Add pipeline.yml to version bump target
1 parent 7e13422 commit eb7d562

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.ci/make.mjs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,13 @@ async function bump (args) {
9292
testMatrix.replace(/STACK_VERSION:\s+\- "[0-9]+[0-9\.]*[0-9](?:\-SNAPSHOT)?"/, `STACK_VERSION:\n - "${cleanVersion}-SNAPSHOT"`), // eslint-disable-line
9393
'utf8'
9494
)
95+
96+
const pipeline = await readFile(join(import.meta.url, '..', '.buildkite', 'pipeline.yml'))
97+
await writeFile(
98+
join(import.meta.url, '..', '.buildkite', 'pipeline.yml'),
99+
pipeline.replace(/STACK_VERSION: [0-9]+[0-9\.]*[0-9](?:\-SNAPSHOT)?/, `STACK_VERSION: - ${cleanVersion}-SNAPSHOT`), // eslint-disable-line
100+
'utf8'
101+
)
95102
}
96103

97104
// this command can only be executed locally for now

0 commit comments

Comments
 (0)