Skip to content

Commit 815184d

Browse files
committed
push tag in console, not omicron, obviously
1 parent 7399c47 commit 815184d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tools/deno/bump-omicron.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@ if (!$.commandExistsSync('gh')) throw Error(GH_MISSING)
145145
await Deno.writeTextFile(VERSION_FILE, newVersionFile)
146146
console.log('Updated ', VERSION_FILE)
147147

148+
const consoleDir = Deno.cwd()
149+
148150
// cd to omicron, pull main, create new branch, commit changes, push, PR it, go back to
149151
// main, delete branch
150152
Deno.chdir(OMICRON_DIR)
@@ -172,5 +174,7 @@ await $`git branch -D ${branchName}`
172174
console.log('Checked out omicron main, deleted branch', branchName)
173175

174176
// bump omicron tag in console to current commit
177+
Deno.chdir(consoleDir)
178+
console.log('Bumping omicron tag in console')
175179
await $`git tag -f -a omicron -m 'pinned commit on omicron main'`
176180
await $`git push -f origin tag omicron`

0 commit comments

Comments
 (0)