Skip to content

Commit

Permalink
chore: remove release branch sync
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Feb 3, 2025
1 parent e0fe1d8 commit 7b8ce66
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions scripts/release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import { versionBump } from 'bumpp'
import { glob } from 'tinyglobby'
import { $ } from 'zx'

try {
const packages = await glob(['package.json', './packages/*/package.json'], { expandDirectories: false })
Expand All @@ -16,11 +15,6 @@ try {
tag: true,
})

if (!result.newVersion.includes('beta')) {
console.log('Pushing to release branch')
await $`git update-ref refs/heads/release refs/heads/main`
await $`git push origin release`
}
console.log('New release is ready, waiting for conformation at https://github.com/vitest-dev/vitest/actions')
}
catch (err) {
Expand Down

0 comments on commit 7b8ce66

Please sign in to comment.