update publishing flow

This commit is contained in:
nicwands
2026-04-06 16:04:42 -04:00
parent 921c4a29a7
commit b4b627b6bb
2 changed files with 11 additions and 8 deletions

View File

@@ -4,7 +4,7 @@ import { execSync } from 'child_process'
import { S3Client, PutObjectCommand } from '@aws-sdk/client-s3'
import dotenv from 'dotenv'
dotenv.config()
dotenv.config({ quiet: true })
const DIST_DIR = path.resolve('dist')
const BUCKET = 'dist'
@@ -96,10 +96,10 @@ async function main() {
return
}
if (isGitTagDirty()) {
console.log('Git working directory is dirty. Skipping upload.')
return
}
// if (isGitTagDirty()) {
// console.log('Git working directory is dirty. Skipping upload.')
// return
// }
console.log(
`Uploading artifacts for ${platform} v${version} (tag: ${currentTag})`,