From d395f9f464fd4716bfed9802324a82bb7e9daeec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Benkovsk=C3=BD?= Date: Tue, 15 Feb 2022 16:58:16 +0100 Subject: [PATCH] bump version to v2 --- Makefile | 6 +++--- README.md | 8 ++++---- cmd/dnspyre/root.go | 2 +- go.mod | 2 +- main.go | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index 6a37dc0..a953508 100644 --- a/Makefile +++ b/Makefile @@ -40,9 +40,9 @@ generate: build: generate @echo "Running build" - env GOOS=darwin go build -ldflags="-X 'github.com/tantalor93/dnspyre/cmd/dnspyre.Version=$(VERSION)-darwin'" -o bin/$(EXECUTABLE)-darwin - env GOOS=linux GARCH=amd64 go build -ldflags="-X 'github.com/tantalor93/dnspyre/cmd/dnspyre.Version=$(VERSION)-linux-amd64'" -o bin/$(EXECUTABLE)-linux-amd64 - env GOOS=windows GARCH=amd64 go build -tags -ldflags="-X 'github.com/tantalor93/dnspyre/cmd/dnspyre.Version=$(VERSION)-windows-amd64'" -o bin/$(EXECUTABLE)-windows-amd64 + env GOOS=darwin go build -ldflags="-X 'github.com/tantalor93/dnspyre/v2/cmd/dnspyre.Version=$(VERSION)-darwin'" -o bin/$(EXECUTABLE)-darwin + env GOOS=linux GARCH=amd64 go build -ldflags="-X 'github.com/tantalor93/dnspyre/v2/cmd/dnspyre.Version=$(VERSION)-linux-amd64'" -o bin/$(EXECUTABLE)-linux-amd64 + env GOOS=windows GARCH=amd64 go build -tags -ldflags="-X 'github.com/tantalor93/dnspyre/v2/cmd/dnspyre.Version=$(VERSION)-windows-amd64'" -o bin/$(EXECUTABLE)-windows-amd64 clean: rm -rf "bin/" diff --git a/README.md b/README.md index 87a1f70..4ef0c94 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -[![Release](https://img.shields.io/github/release/Tantalor93/dnspyre/all.svg)](https://github.com/Tantalor93/dnspyre/releases) -[![Go Report Card](https://goreportcard.com/badge/github.com/Tantalor93/dnspyre)](https://goreportcard.com/report/github.com/Tantalor93/dnspyre) +[![Release](https://img.shields.io/github/release/Tantalor93/dnspyre/all.svg)](https://github.com/tantalor93/dnspyre/v2/releases) +[![Go Report Card](https://goreportcard.com/badge/github.com/tantalor93/dnspyre/v2)](https://goreportcard.com/report/github.com/tantalor93/dnspyre/v2) [![Tantalor93](https://circleci.com/gh/Tantalor93/dnspyre/tree/master.svg?style=svg)](https://circleci.com/gh/Tantalor93/dnspyre?branch=master) -[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/Tantalor93/dnspyre/blob/master/LICENSE) +[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/tantalor93/dnspyre/v2/blob/master/LICENSE) [![codecov](https://codecov.io/gh/Tantalor93/dnspyre/branch/master/graph/badge.svg?token=MC6PK2OLMK)](https://codecov.io/gh/Tantalor93/dnspyre) # Table of Contents @@ -31,7 +31,7 @@ them via all kind of image formats (png, svg, pdf) ## Installation ``` -go get github.com/tantalor93/dnspyre +go get github.com/tantalor93/dnspyre/v2 ``` will install the binary in your $GOPATH/bin diff --git a/cmd/dnspyre/root.go b/cmd/dnspyre/root.go index 359d78d..0a030ed 100644 --- a/cmd/dnspyre/root.go +++ b/cmd/dnspyre/root.go @@ -11,7 +11,7 @@ import ( "github.com/alecthomas/kingpin" "github.com/miekg/dns" - "github.com/tantalor93/dnspyre/internal/sysutil" + "github.com/tantalor93/dnspyre/v2/internal/sysutil" ) var ( diff --git a/go.mod b/go.mod index 7dfceec..b1f8749 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/tantalor93/dnspyre +module github.com/tantalor93/dnspyre/v2 go 1.16 diff --git a/main.go b/main.go index 0635b73..ac1bf70 100644 --- a/main.go +++ b/main.go @@ -1,6 +1,6 @@ package main -import "github.com/tantalor93/dnspyre/cmd/dnspyre" +import "github.com/tantalor93/dnspyre/v2/cmd/dnspyre" func main() { dnspyre.Execute()