Skip to content

Commit

Permalink
Fix tsc gen
Browse files Browse the repository at this point in the history
  • Loading branch information
crazy-max committed Nov 14, 2019
1 parent 8161c37 commit 7f7463c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit 7f7463c

Please sign in to comment.