Skip to content

Commit

Permalink
devel/gocritic: update to 0.6.7
Browse files Browse the repository at this point in the history
 - ship new gocritic-analysis binary
 - set PKGVERSION as program version in binary

Changelog: https://github.com/go-critic/go-critic/releases/tag/v0.6.7
Changelog: https://github.com/go-critic/go-critic/releases/tag/v0.6.6

Approved by:	flo (mentor)
Differential Revision: https://reviews.freebsd.org/D38727
  • Loading branch information
clausecker committed Feb 24, 2023
1 parent 3a9acb2 commit d18e274
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
10 changes: 6 additions & 4 deletions devel/gocritic/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
PORTNAME= gocritic
DISTVERSIONPREFIX= v
DISTVERSION= 0.6.5
PORTREVISION= 4
DISTVERSION= 0.6.7
CATEGORIES= devel

MAINTAINER= fuz@FreeBSD.org
Expand All @@ -13,8 +12,11 @@ LICENSE_FILE= ${WRKSRC}/LICENSE

USES= go:modules
GO_MODULE= github.com/go-critic/go-critic
GO_TARGET= ./cmd/gocritic
GO_TARGET= ./cmd/gocritic \
./cmd/gocritic-analysis
GO_BUILDFLAGS= -ldflags "-X main.Version=v${PKGVERSION}"

PLIST_FILES= bin/gocritic
PLIST_FILES= bin/gocritic \
bin/gocritic-analysis

.include <bsd.port.mk>
10 changes: 5 additions & 5 deletions devel/gocritic/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
TIMESTAMP = 1667255224
SHA256 (go/devel_gocritic/gocritic-v0.6.5/v0.6.5.mod) = 7d679dee25f7d3f0245b190eba1a51215fd2751360e59bd12a1721adaceeccae
SIZE (go/devel_gocritic/gocritic-v0.6.5/v0.6.5.mod) = 725
SHA256 (go/devel_gocritic/gocritic-v0.6.5/v0.6.5.zip) = 7f595b0d7e550c87be506c5810d94e81e2c3908b846b388421dac692a0b19a32
SIZE (go/devel_gocritic/gocritic-v0.6.5/v0.6.5.zip) = 325383
TIMESTAMP = 1676938342
SHA256 (go/devel_gocritic/gocritic-v0.6.7/v0.6.7.mod) = 646771f3fe37521fe5163360f499f3643c27b2e7fd7bf04bc7670a3fb13ec2de
SIZE (go/devel_gocritic/gocritic-v0.6.7/v0.6.7.mod) = 1024
SHA256 (go/devel_gocritic/gocritic-v0.6.7/v0.6.7.zip) = ececc2323de31c8e22122d9a219a904bc02a985b6f16bbb6edd6d99ba8457af2
SIZE (go/devel_gocritic/gocritic-v0.6.7/v0.6.7.zip) = 326724

0 comments on commit d18e274

Please sign in to comment.