File tree Expand file tree Collapse file tree 4 files changed +57
-2
lines changed
Expand file tree Collapse file tree 4 files changed +57
-2
lines changed Original file line number Diff line number Diff line change @@ -24,3 +24,5 @@ go.work.sum
2424# IDE
2525.idea /
2626vscode /
27+
28+ dist /
Original file line number Diff line number Diff line change 1+ # yaml-language-server: $schema=https://goreleaser.com/static/schema.json
2+ # vim: set ts=2 sw=2 tw=0 fo=cnqoj
3+
4+ version : 2
5+
6+ before :
7+ hooks :
8+ - go mod tidy
9+
10+ builds :
11+ - env :
12+ - CGO_ENABLED=0
13+ goos :
14+ - linux
15+ - windows
16+ - darwin
17+
18+ archives :
19+ - format : tar.gz
20+ # this name template makes the OS and Arch compatible with the results of `uname`.
21+ name_template : >-
22+ {{ .ProjectName }}_
23+ {{- title .Os }}_
24+ {{- if eq .Arch "amd64" }}x86_64
25+ {{- else if eq .Arch "386" }}i386
26+ {{- else }}{{ .Arch }}{{ end }}
27+ {{- if .Arm }}v{{ .Arm }}{{ end }}
28+ # use zip for windows archives
29+ format_overrides :
30+ - goos : windows
31+ format : zip
32+
33+ changelog :
34+ sort : asc
35+ filters :
36+ exclude :
37+ - " ^docs:"
38+ - " ^test:"
Original file line number Diff line number Diff line change @@ -25,3 +25,15 @@ over your attributes.
2525
2626
2727## Development
28+ This project is in active development.
29+
30+ If you find any bugs and/or have feature suggestions, feel free to
31+ create issues and pull requests.
32+
33+ Before submitting an issue, please check if it hasn't shown up in other
34+ issues to avoid duplicates.
35+
36+ ## License
37+
38+ This project is licensed under Apache 2.0.
39+ You can find the license [ here] ( ./LICENSE ) .
Original file line number Diff line number Diff line change @@ -20,9 +20,12 @@ import (
2020 "github.com/spf13/cobra"
2121)
2222
23+ var version = "1.0.0"
24+
2325var rootCmd = & cobra.Command {
24- Use : "git-profile" ,
25- Short : "Manage and automatically set git user profiles based on the project's origin" ,
26+ Use : "git-profile" ,
27+ Version : version ,
28+ Short : "Manage and automatically set git user profiles based on the project's origin" ,
2629 Long : `git-profile is a simple CLI to manage and automatically set git user profiles based on the project's origin.
2730
2831Save a profile together with its origin and let git-profile set the attributes next time you clone a new repository.
You can’t perform that action at this time.
0 commit comments