-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit f7e2e66
Showing
583 changed files
with
285,560 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{{ if .Versions -}} | ||
<a name="unreleased"></a> | ||
## [Unreleased] | ||
|
||
{{ if .Unreleased.CommitGroups -}} | ||
{{ range .Unreleased.CommitGroups -}} | ||
### {{ .Title }} | ||
{{ range .Commits -}} | ||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} | ||
{{ end }} | ||
{{ end -}} | ||
{{ end -}} | ||
{{ end -}} | ||
|
||
{{ range .Versions }} | ||
<a name="{{ .Tag.Name }}"></a> | ||
## {{ if .Tag.Previous }}[{{ .Tag.Name }}]{{ else }}{{ .Tag.Name }}{{ end }} - {{ datetime "2006-01-02" .Tag.Date }} | ||
{{ range .CommitGroups -}} | ||
### {{ .Title }} | ||
{{ range .Commits -}} | ||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} | ||
{{ end }} | ||
{{ end -}} | ||
|
||
{{- if .RevertCommits -}} | ||
### Reverts | ||
{{ range .RevertCommits -}} | ||
- {{ .Revert.Header }} | ||
{{ end }} | ||
{{ end -}} | ||
|
||
{{- if .MergeCommits -}} | ||
### Pull Requests | ||
{{ range .MergeCommits -}} | ||
- {{ .Header }} | ||
{{ end }} | ||
{{ end -}} | ||
|
||
{{- if .NoteGroups -}} | ||
{{ range .NoteGroups -}} | ||
### {{ .Title }} | ||
{{ range .Notes }} | ||
{{ .Body }} | ||
{{ end }} | ||
{{ end -}} | ||
{{ end -}} | ||
{{ end -}} | ||
|
||
{{- if .Versions }} | ||
[Unreleased]: {{ .Info.RepositoryURL }}/compare/{{ $latest := index .Versions 0 }}{{ $latest.Tag.Name }}...HEAD | ||
{{ range .Versions -}} | ||
{{ if .Tag.Previous -}} | ||
[{{ .Tag.Name }}]: {{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }} | ||
{{ end -}} | ||
{{ end -}} | ||
{{ end -}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
style: github | ||
template: CHANGELOG.tpl.md | ||
info: | ||
title: CHANGELOG | ||
repository_url: https://github.com/lzecca78/git-cloner | ||
options: | ||
commits: | ||
# filters: | ||
# Type: | ||
# - feat | ||
# - fix | ||
# - perf | ||
# - refactor | ||
commit_groups: | ||
# title_maps: | ||
# feat: Features | ||
# fix: Bug Fixes | ||
# perf: Performance Improvements | ||
# refactor: Code Refactoring | ||
header: | ||
pattern: "^((\\w+)\\s.*)$" | ||
pattern_maps: | ||
- Subject | ||
- Type | ||
notes: | ||
keywords: | ||
- BREAKING CHANGE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
name: Release | ||
on: | ||
push: | ||
tags: | ||
- 'v*.*.*' | ||
jobs: | ||
build: | ||
name: release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* | ||
# - name: Bump version and push tag | ||
# uses: anothrNick/github-tag-action@master | ||
# env: | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# WITH_V: true | ||
# - name: Check out again code into the Go module directory | ||
# uses: actions/checkout@v2 | ||
# - name: Unshallow | ||
# run: git fetch --prune --unshallow | ||
- name: Set up Go | ||
uses: actions/setup-go@v1 | ||
with: | ||
go-version: 1.13.x | ||
- name: Run GoReleaser | ||
uses: goreleaser/goreleaser-action@v1 | ||
with: | ||
version: latest | ||
args: release --rm-dist | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GORELEASER_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
--- | ||
before: | ||
hooks: | ||
- go mod vendor | ||
project_name: git-cloner | ||
builds: | ||
- binary: 'git-cloner' | ||
id: git-cloner-darwin | ||
goarch: | ||
- amd64 | ||
goos: | ||
- darwin | ||
env: | ||
- CGO_ENABLED=0 | ||
- binary: 'git-cloner' | ||
id: git-cloner-linux | ||
goarch: | ||
- amd64 | ||
goos: | ||
- linux | ||
env: | ||
- CGO_ENABLED=0 | ||
archives: | ||
- format: tar.gz | ||
id: git-cloner-darwin-tgz | ||
wrap_in_directory: false | ||
name_template: '{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}' | ||
builds: | ||
- git-cloner-darwin | ||
- format: tar.gz | ||
id: git-cloner-linux-tgz | ||
wrap_in_directory: false | ||
name_template: '{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}' | ||
builds: | ||
- git-cloner-linux | ||
- format: binary | ||
id: git-cloner-darwin-bin | ||
wrap_in_directory: false | ||
name_template: '{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}' | ||
builds: | ||
- git-cloner-darwin | ||
- format: binary | ||
id: git-cloner-linux-bin | ||
wrap_in_directory: false | ||
name_template: '{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}' | ||
builds: | ||
- git-cloner-linux | ||
checksum: | ||
name_template: 'sha256sum.txt' | ||
snapshot: | ||
name_template: '{{ .Tag }}' | ||
changelog: | ||
sort: asc | ||
filters: | ||
exclude: | ||
- '^docs:' | ||
- '^test:' | ||
release: | ||
ids: | ||
- git-cloner-linux-tgz | ||
- git-cloner-linux-bin | ||
- git-cloner-darwin-tgz | ||
- git-cloner-darwin-bin | ||
github: | ||
owner: lzecca78 | ||
name: git-cloner | ||
name_template: '{{ .Tag }}' | ||
brews: | ||
- name: git-cloner | ||
github: | ||
owner: lzecca78 | ||
name: homebrew-git-cloner | ||
folder: Formula | ||
homepage: 'https://gihub.com/lzecca78/git-cloner' | ||
description: 'Git-cloner binary' | ||
conflicts: | ||
- git-cloner | ||
test: | | ||
system "#{bin}/git-cloner" | ||
install: | | ||
bin.install 'git-cloner' |
Oops, something went wrong.