Skip to content
This repository was archived by the owner on Nov 18, 2022. It is now read-only.

Commit 42e4f40

Browse files
Rename module
Signed-off-by: thatInfrastructureGuy <[email protected]>
1 parent 5c5b9a4 commit 42e4f40

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# generate-version
1+
# git-describe
22

33
* Runs `git describe --abbrev=7 --dirty`
44
* Generates .go file containing binary version.
@@ -10,15 +10,15 @@
1010
## How to use
1111

1212
```
13-
go run github.com/thatInfrastructureGuy/generate-version@latest && go build <<your-program>>
13+
go run github.com/thatInfrastructureGuy/git-describe@latest && go build <<your-program>>
1414
```
1515

1616
Probably you should put it in your tools.go file.
1717

1818
### What happens on running this program?
1919

2020
```
21-
go run github.com/thatInfrastructureGuy/generate-version@latest
21+
go run github.com/thatInfrastructureGuy/git-describe@latest
2222
```
2323

2424
A new file gets created `version/const.go` with following contents:
@@ -49,7 +49,7 @@ const Version = "v0.0.1"
4949
</summary>
5050

5151
```
52-
go run github.com/thatInfrastructureGuy/generate-version@latest \
52+
go run github.com/thatInfrastructureGuy/git-describe@latest \
5353
--filepath=version/version.go --package=version --variable=VERSION
5454
```
5555
</details>

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
module github.com/thatInfrastructureGuy/generate-version
1+
module github.com/thatInfrastructureGuy/git-describe
22

33
go 1.18

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import (
2727
"text/template"
2828
"time"
2929

30-
"github.com/thatInfrastructureGuy/generate-version/version"
30+
"github.com/thatInfrastructureGuy/git-describe/version"
3131
)
3232

3333
const (

0 commit comments

Comments
 (0)