Skip to content

Commit

Permalink
fix: fix release script regex
Browse files Browse the repository at this point in the history
  • Loading branch information
Loïc Mangeonjean committed Oct 16, 2023
1 parent d0e57b1 commit 9960325
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ $.env = {

const vscodeVersion = process.argv[process.argv.length - 1]!
const minorVscodeVersion = `${semver.major(vscodeVersion)}.${semver.minor(vscodeVersion)}`
const tagPattern = /^v?(\\d+\\.\\d+\\.\\d+)$/
const tagPattern = /^v?(\d+\.\d+\.\d+)$/

async function getLastTag () {
const tags = (await $`git tag -l --sort=-v:refname`).toString().split('\n').map(tag => tag.trim())
Expand Down

0 comments on commit 9960325

Please sign in to comment.