Skip to content

Commit

Permalink
update packages to version 5
Browse files Browse the repository at this point in the history
  • Loading branch information
avarabyeu committed Jan 16, 2021
1 parent 2706e95 commit 6a0d0b0
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ linters-settings:
lll:
line-length: 140
goimports:
local-prefixes: github.com/avarabyeu/goRP
local-prefixes: github.com/avarabyeu/goRP/v5
gocritic:
enabled-tags:
- performance
Expand Down
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ ARG dockerTag
RUN echo $dockerTag | awk -F"v" '{ print $2 }' > version
RUN cat ./version

# Install Hugo
RUN version=$(cat version) && curl -L >gorp.tar.gz https://github.com/avarabyeu/goRP/releases/download/$dockerTag/goRP_${version}_linux_amd64.tar.gz \
&& tar -xzvf gorp.tar.gz -C /usr/bin \
&& rm gorp.tar.gz
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ lint:

fmt:
gofumpt -extra -l -w -s ${GOFILES_NOVENDOR}
gofumports -local github.com/avarabyeu/goRP -l -w ${GOFILES_NOVENDOR}
gci -local github.com/avarabyeu/goRP -w ${GOFILES_NOVENDOR}
gofumports -local -l -w ${GOFILES_NOVENDOR}
gci -local github.com/avarabyeu/goRP/v5 -w ${GOFILES_NOVENDOR}

#build: checkstyle test
build:
Expand Down
2 changes: 1 addition & 1 deletion cli/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/manifoldco/promptui"
"github.com/urfave/cli/v2"

"github.com/avarabyeu/goRP/gorp"
"github.com/avarabyeu/goRP/v5/gorp"
)

type config struct {
Expand Down
2 changes: 1 addition & 1 deletion cli/launch.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/urfave/cli/v2"

"github.com/avarabyeu/goRP/gorp"
"github.com/avarabyeu/goRP/v5/gorp"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/avarabyeu/goRP
module github.com/avarabyeu/goRP/v5

go 1.13

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/urfave/cli/v2"

rp "github.com/avarabyeu/goRP/cli"
rp "github.com/avarabyeu/goRP/v5/cli"
)

var (
Expand Down

0 comments on commit 6a0d0b0

Please sign in to comment.