test mac build
This commit is contained in:
@@ -98,20 +98,20 @@ const main = async () => {
|
||||
process.exit(1)
|
||||
}
|
||||
|
||||
const currentTag = getCurrentTag()
|
||||
if (!currentTag) {
|
||||
console.log(
|
||||
'No git tag found. Skipping upload (artifacts are only uploaded on tagged commits).',
|
||||
)
|
||||
return
|
||||
}
|
||||
// const currentTag = getCurrentTag()
|
||||
// if (!currentTag) {
|
||||
// console.log(
|
||||
// 'No git tag found. Skipping upload (artifacts are only uploaded on tagged commits).',
|
||||
// )
|
||||
// return
|
||||
// }
|
||||
|
||||
if (currentTag !== version && !currentTag.startsWith(version)) {
|
||||
console.log(
|
||||
`Git tag (${currentTag}) does not match version (${version}). Skipping upload.`,
|
||||
)
|
||||
return
|
||||
}
|
||||
// if (currentTag !== version && !currentTag.startsWith(version)) {
|
||||
// console.log(
|
||||
// `Git tag (${currentTag}) does not match version (${version}). Skipping upload.`,
|
||||
// )
|
||||
// return
|
||||
// }
|
||||
|
||||
// if (isGitTagDirty()) {
|
||||
// console.log('Git working directory is dirty. Skipping upload.')
|
||||
|
||||
Reference in New Issue
Block a user