Skip to content

Commit

Permalink
fix: Set GORELEASER_CURRENT_TAG (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
crazy-max committed Nov 22, 2020
1 parent d19982d commit f5f460d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f5f460d

Please sign in to comment.