mirror of
https://github.com/goreleaser/goreleaser-action.git
synced 2026-05-18 08:21:53 +00:00
Fix tsc gen
This commit is contained in:
parent
8161c37568
commit
7f7463cf16
1 changed files with 1 additions and 2 deletions
|
|
@ -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';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue