mirror of
https://github.com/goreleaser/goreleaser-action
synced 2026-06-29 20:27:30 +00:00
fix: Set GORELEASER_CURRENT_TAG (#259)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
+1
@@ -378,6 +378,7 @@ function run() {
|
||||
}
|
||||
}
|
||||
core.info('🏃 Running GoReleaser...');
|
||||
process.env.GORELEASER_CURRENT_TAG = tag;
|
||||
yield exec.exec(`${goreleaser} ${args}${snapshot}`);
|
||||
}
|
||||
catch (error) {
|
||||
|
||||
@@ -44,6 +44,7 @@ async function run(): Promise<void> {
|
||||
}
|
||||
|
||||
core.info('🏃 Running GoReleaser...');
|
||||
process.env.GORELEASER_CURRENT_TAG = tag;
|
||||
await exec.exec(`${goreleaser} ${args}${snapshot}`);
|
||||
} catch (error) {
|
||||
core.setFailed(error.message);
|
||||
|
||||
Reference in New Issue
Block a user