Skip to content

Commit

Permalink
bump version to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
Tantalor93 committed Feb 15, 2022
1 parent 954333d commit d395f9f
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion cmd/dnspyre/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
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/tantalor93/dnspyre
module github.com/tantalor93/dnspyre/v2

go 1.16

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
@@ -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()
Expand Down

0 comments on commit d395f9f

Please sign in to comment.