Updated tagName in release script

no issue

- as of 4.0, we're shipping tags with the preceding `v`, but this script
  ignored that and so the release was incorrect
- this commit updates the tagName to have the preceding `v`
This commit is contained in:
Daniel Lockyer 2021-03-10 21:11:23 +00:00
parent 87772282c8
commit 91ced578c5
No known key found for this signature in database
GPG Key ID: FFBC6FA2A6F6ABC1

View File

@ -155,7 +155,7 @@ exports.release = async () => {
const newReleaseResponse = await releaseUtils.releases.create({ const newReleaseResponse = await releaseUtils.releases.create({
draft: true, draft: true,
preRelease: false, preRelease: false,
tagName: newVersion, tagName: 'v' + newVersion,
releaseName: newVersion, releaseName: newVersion,
userAgent: 'Casper', userAgent: 'Casper',
uri: `https://api.github.com/repos/${REPO}/releases`, uri: `https://api.github.com/repos/${REPO}/releases`,