Skip to content

Commit

Permalink
fix: update npm-binary-releaser package
Browse files Browse the repository at this point in the history
  • Loading branch information
christophwitzko committed May 27, 2022
1 parent 502731e commit c7e1f8d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/go-semantic-release/hooks-npm-binary-releaser
go 1.18

require (
github.com/christophwitzko/npm-binary-releaser v1.10.0
github.com/christophwitzko/npm-binary-releaser v1.10.1
github.com/go-semantic-release/semantic-release/v2 v2.22.4
gopkg.in/yaml.v3 v3.0.0
)
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0
github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY=
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
github.com/christophwitzko/npm-binary-releaser v1.10.0 h1:Yzl2AymNUoC4iybjoQakutsOdrH5ra0Uhng+YQVCtPU=
github.com/christophwitzko/npm-binary-releaser v1.10.0/go.mod h1:Uh+uQtFF2fosUYA3N5jXR0GQUH5F26MBoF2fDvJUyFc=
github.com/christophwitzko/npm-binary-releaser v1.10.1 h1:10yYROu00Ow30Ip3elhAufV3tlZaIZkjNVqYqxKXq90=
github.com/christophwitzko/npm-binary-releaser v1.10.1/go.mod h1:Uh+uQtFF2fosUYA3N5jXR0GQUH5F26MBoF2fDvJUyFc=
github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI=
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI=
github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU=
Expand Down
2 changes: 1 addition & 1 deletion pkg/hooks/releaser.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func (t *NpmBinaryReleaser) Success(releaseConfig *hooks.SuccessHookConfig) erro
cfg.Homepage = envInfo.Homepage
}
if cfg.BinName == "" {
cfg.BinName = envInfo.PackageName
cfg.BinName = envInfo.Name
}
if cfg.InputBinDirPath == "" {
cfg.TryDefaultInputPaths = true
Expand Down

0 comments on commit c7e1f8d

Please sign in to comment.