mirror of
https://github.com/thegeeklab/wp-gitea-release.git
synced 2024-11-28 08:20:34 +00:00
chore(deps): update dependency golangci/golangci-lint to v1.56.1 (#19)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
This commit is contained in:
parent
7c5b42c481
commit
127b468730
2
Makefile
2
Makefile
@ -1,7 +1,7 @@
|
|||||||
# renovate: datasource=github-releases depName=mvdan/gofumpt
|
# renovate: datasource=github-releases depName=mvdan/gofumpt
|
||||||
GOFUMPT_PACKAGE_VERSION := v0.6.0
|
GOFUMPT_PACKAGE_VERSION := v0.6.0
|
||||||
# renovate: datasource=github-releases depName=golangci/golangci-lint
|
# renovate: datasource=github-releases depName=golangci/golangci-lint
|
||||||
GOLANGCI_LINT_PACKAGE_VERSION := v1.55.2
|
GOLANGCI_LINT_PACKAGE_VERSION := v1.56.1
|
||||||
|
|
||||||
EXECUTABLE := wp-gitea-release
|
EXECUTABLE := wp-gitea-release
|
||||||
|
|
||||||
|
@ -137,7 +137,6 @@ func (p *Plugin) FlagsFromContext() error {
|
|||||||
var err error
|
var err error
|
||||||
|
|
||||||
files, err = writeChecksums(files, p.Settings.Checksum.Value())
|
files, err = writeChecksums(files, p.Settings.Checksum.Value())
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("failed to write checksums: %w", err)
|
return fmt.Errorf("failed to write checksums: %w", err)
|
||||||
}
|
}
|
||||||
|
@ -40,7 +40,6 @@ func (rc *releaseClient) buildRelease() (*gitea.Release, error) {
|
|||||||
|
|
||||||
// if no release was found by that tag, create a new one
|
// if no release was found by that tag, create a new one
|
||||||
release, err = rc.newRelease()
|
release, err = rc.newRelease()
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("failed to retrieve or create a release: %w", err)
|
return nil, fmt.Errorf("failed to retrieve or create a release: %w", err)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user