Skip to content

Commit

Permalink
fix: Set GORELEASER_CURRENT_TAG (#259)
Browse files Browse the repository at this point in the history
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
  • Loading branch information
crazy-max and crazy-max committed Nov 30, 2020
1 parent 50de962 commit 09ce141
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
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 09ce141

Please sign in to comment.