mirror of
https://github.com/goreleaser/goreleaser-action
synced 2026-07-09 20:37:30 +00:00
Fix tsc gen
This commit is contained in:
+1
-2
@@ -28,8 +28,7 @@ function run(silent) {
|
|||||||
const key = core.getInput('key');
|
const key = core.getInput('key');
|
||||||
const goreleaser = yield installer.getGoReleaser(version);
|
const goreleaser = yield installer.getGoReleaser(version);
|
||||||
let snapshot = '';
|
let snapshot = '';
|
||||||
if (!process.env.GITHUB_REF ||
|
if (!process.env.GITHUB_REF || !process.env.GITHUB_REF.startsWith('refs/tags/')) {
|
||||||
!process.env.GITHUB_REF.startsWith('refs/tags/')) {
|
|
||||||
console.log(`⚠️ No tag found. Snapshot forced`);
|
console.log(`⚠️ No tag found. Snapshot forced`);
|
||||||
if (!args.includes('--snapshot')) {
|
if (!args.includes('--snapshot')) {
|
||||||
snapshot = ' --snapshot';
|
snapshot = ' --snapshot';
|
||||||
|
|||||||
Reference in New Issue
Block a user