diff --git a/lib/main.js b/lib/main.js index 6a978f7..e980c23 100644 --- a/lib/main.js +++ b/lib/main.js @@ -28,8 +28,7 @@ function run(silent) { const key = core.getInput('key'); const goreleaser = yield installer.getGoReleaser(version); let snapshot = ''; - if (!process.env.GITHUB_REF || - !process.env.GITHUB_REF.startsWith('refs/tags/')) { + if (!process.env.GITHUB_REF || !process.env.GITHUB_REF.startsWith('refs/tags/')) { console.log(`⚠️ No tag found. Snapshot forced`); if (!args.includes('--snapshot')) { snapshot = ' --snapshot';