mirror of
https://github.com/goreleaser/goreleaser-action
synced 2026-08-31 16:38:27 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
79d4afbba1 |
+2
-2
@@ -346,8 +346,8 @@ function run() {
|
|||||||
let snapshot = '';
|
let snapshot = '';
|
||||||
if (args.split(' ').indexOf('release') > -1) {
|
if (args.split(' ').indexOf('release') > -1) {
|
||||||
if (isTagDirty) {
|
if (isTagDirty) {
|
||||||
core.info(`No tag found for commit ${commit}. Snapshot forced`);
|
if (!args.includes('--snapshot') && !args.includes('--nightly')) {
|
||||||
if (!args.includes('--snapshot')) {
|
core.info(`No tag found for commit ${commit}. Snapshot forced`);
|
||||||
snapshot = ' --snapshot';
|
snapshot = ' --snapshot';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-2
@@ -36,8 +36,8 @@ async function run(): Promise<void> {
|
|||||||
let snapshot = '';
|
let snapshot = '';
|
||||||
if (args.split(' ').indexOf('release') > -1) {
|
if (args.split(' ').indexOf('release') > -1) {
|
||||||
if (isTagDirty) {
|
if (isTagDirty) {
|
||||||
core.info(`No tag found for commit ${commit}. Snapshot forced`);
|
if (!args.includes('--snapshot') && !args.includes('--nightly')) {
|
||||||
if (!args.includes('--snapshot')) {
|
core.info(`No tag found for commit ${commit}. Snapshot forced`);
|
||||||
snapshot = ' --snapshot';
|
snapshot = ' --snapshot';
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user