mirror of
https://github.com/goreleaser/goreleaser-action
synced 2026-06-30 01:19:43 +00:00
Do not overwrite GORELEASER_CURRENT_TAG if already declared (#260)
This commit is contained in:
+3
-1
@@ -378,7 +378,9 @@ function run() {
|
||||
}
|
||||
}
|
||||
core.info('🏃 Running GoReleaser...');
|
||||
process.env.GORELEASER_CURRENT_TAG = tag;
|
||||
if (!('GORELEASER_CURRENT_TAG' in process.env)) {
|
||||
process.env.GORELEASER_CURRENT_TAG = tag;
|
||||
}
|
||||
yield exec.exec(`${goreleaser} ${args}${snapshot}`);
|
||||
}
|
||||
catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user