Skip to content

Commit

Permalink
deploy: tag gh releases as pre appropriately, verify tag
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Sep 28, 2023
1 parent b89f92c commit 2a04d7e
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions scripts/version.mts
Original file line number Diff line number Diff line change
Expand Up @@ -424,10 +424,16 @@ const publish = (names: string[], pre: boolean = false) => {
`--tag=${pre ? 'pre' : 'latest'}`,
'-w=tap'
)
const tapVersion = manifests.tap.version
if (tapVersion) {
gh('release', 'create', `tap@${tapVersion}`, '--generate-notes')
}
const tag = `tap@${manifests.tap.version}`
const args = [
'release',
'create',
tag,
'--generate-notes',
'--verify-tag',
]
if (pre) args.push('-p')
gh(...args)
}
}

Expand Down

0 comments on commit 2a04d7e

Please sign in to comment.