mirror of
https://github.com/goreleaser/goreleaser-action.git
synced 2026-05-14 14:50:32 +00:00
fix: Set GORELEASER_CURRENT_TAG (#259)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
50de962f84
commit
09ce14113d
2 changed files with 2 additions and 0 deletions
1
dist/index.js
generated
vendored
1
dist/index.js
generated
vendored
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue