mirror of
https://github.com/goreleaser/goreleaser-action
synced 2026-06-30 01:19:43 +00:00
Update prettier
This commit is contained in:
+1
-4
@@ -11,10 +11,7 @@ export async function run(silent?: boolean) {
|
||||
const goreleaser = await 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';
|
||||
|
||||
Reference in New Issue
Block a user