Update prettier

This commit is contained in:
CrazyMax
2019-11-12 00:05:29 +01:00
parent a07e0f6915
commit 6cf8999416
4 changed files with 20 additions and 38 deletions
+1 -4
View File
@@ -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';