Skip to content

Commit

Permalink
changelog
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Mulvey <kmulvey@linux.com>
  • Loading branch information
kmulvey committed Apr 21, 2023
1 parent b316be1 commit 723bd6b
Show file tree
Hide file tree
Showing 5 changed files with 811 additions and 63 deletions.
7 changes: 7 additions & 0 deletions .chglog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
conventional-commits: false
deb:
distribution: []
urgency: ""
debug: false
owner: "Kevin Mulvey"
package-name: "concurrenthash"
3 changes: 3 additions & 0 deletions .github/workflows/release_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ jobs:
check-latest: true
cache: true
go-version: "1.20"

- name: changelog
run: chglog format --template repo > CHANGELOG.md

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
Expand Down
66 changes: 3 additions & 63 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,22 +42,10 @@ changelog:
nfpms:
# note that this is an array of nfpm configs
- # ID of the nfpm config, must be unique.
#
# Default: 'default'
id: concurrenthash

# Name of the package.
# Default: ProjectName
package_name: concurrenthash

# You can change the file name of the package.
#
# Default: '{{ .PackageName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}'
# Templates: allowed
#file_name_template: "{{ .ConventionalFileName }}"

# Build IDs for the builds you want to create NFPM packages for.
# Defaults empty, which means no filtering.
builds:
- concurrenthash

Expand All @@ -82,65 +70,17 @@ nfpms:
- apk
- deb
- rpm
- termux.deb # Since: v1.11
- archlinux # Since: v1.13

# Packages your package depends on. (overridable)
# dependencies:
# - git
# - zsh
- termux.deb
- archlinux

# Packages it provides. (overridable)
#
# Since: v1.11
provides:
- concurrenthash

# Path that the binaries should be installed.
# Default: '/usr/bin'
bindir: /usr/bin

# Version Epoch.
# Default: extracted from `version` if it is semver compatible
epoch: 2

# Version Prerelease.
# Default: extracted from `version` if it is semver compatible
prerelease: beta1

# Version Metadata (previously deb.metadata).
# Setting metadata might interfere with version comparisons depending on the
# packager.
#
# Default: extracted from `version` if it is semver compatible
version_metadata: git

# Version Release.
release: 1

# Section.
section: default

# Priority.
priority: extra

# Changelog YAML file, see: https://github.com/goreleaser/chglog
#
# You can use goreleaser/chglog to create the changelog for your project,
# pass that changelog yaml file to GoReleaser,
# and it should in turn setup it accordingly for the given available
# formats (deb and rpm at the moment).
#
# Experimental.
# Since: v1.11
# changelog: ./foo.yml

# Contents to add to the package.
# GoReleaser will automatically add the binaries.
# contents:
# # Basic file that applies to all packagers
# - src: ./dist/concurrenthash_linux_amd64_v1/concurrenthash
# dst: /usr/bin/concurrenthash
changelog: ./changelog.yml

# Custom configuration applied only to the RPM packager.
rpm:
Expand Down
135 changes: 135 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@

1.5.1
=============
2023-04-15

* build packages (9c7bd255)

1.5.0
=============
2023-04-13

* deps (18ba3813)
* weak tests for windows (54f29560)
* Contains args are backwards (4501f737)
* less strict error checking for window (57715e5f)
* ignore insecure hash warnings (2055970f)
* remove context from struct and pass it in when needed (be6b7ae8)
* more ci cd config changes (caf5fffc)
* normalize ci cd configs (c852e085)
* normalize github actions (4f450723)

1.4.0
=============
2022-12-17

* return value to prevent heap alloc (77adcbf2)
* sha256 (9f956e28)

1.3.0
=============
2022-12-16

* test bad filename (a3f573e3)
* add sha512 family and use a test matrix to save some lines (7c3f6e74)
* simplify returns (5b274ca1)

1.2.3
=============
2022-10-27

* Merge pull request #5 from kmulvey/dependabot/go_modules/github.com/stretchr/testify-1.8.1 (2a8a6928)
* Bump github.com/stretchr/testify from 1.8.0 to 1.8.1 (a73498eb)
* deps (8d408351)
* use goutils Merge instead (1fca47fa)

1.2.2
=============
2022-09-22

* lock map (709fbe5f)

1.2.0
=============
2022-09-22

* deps (176696b8)
* lock hashes slice (a43b4736)

1.1.0
=============
2022-08-05

* Merge pull request #4 from kmulvey/go-19 (c9055f8e)
* go 1.19 and deps (11b6df22)
* Revert "go 1.19 and deps" (6734c003)
* go 1.19 and deps (c99661a4)
* cover badge (d55a3113)
* change cover output (7ed28940)
* test cover (2b0b6f65)
* test wrappers (86bacfa9)
* codecov (7eec3fb8)

1.0.0
=============
2022-07-01

* Merge pull request #3 from kmulvey/dependabot/go_modules/github.com/stretchr/testify-1.8.0 (7ece96ab)
* Bump github.com/stretchr/testify from 1.7.5 to 1.8.0 (dae6d642)
* Merge pull request #2 from kmulvey/dependabot/go_modules/github.com/stretchr/testify-1.7.5 (bc10f0d9)
* Bump github.com/stretchr/testify from 1.7.4 to 1.7.5 (f5700ae2)
* me (6b475660)
* Merge pull request #1 from kmulvey/dependabot/go_modules/github.com/stretchr/testify-1.7.4 (cf7b58bf)
* Bump github.com/stretchr/testify from 1.7.1 to 1.7.4 (a7afd25f)
* vuln scan (4208c70b)
* deps (9a71a160)

0.4.1
=============
2022-06-07

* deps (48501b75)
* block size benchmakrs (d3636ba1)
* rename (5d576506)
* spacing (086c8f14)
* benchmarks (541a5878)
* notes (440a0ab7)
* usage (1c0a6287)

0.3.0
=============
2022-05-17

* bench (d8b5208b)
* give main() to releaser (8e368cea)

0.2.0
=============
2022-05-17

* pass in context (b86b95e6)
* linting (48d6dabc)

0.1.0
=============
2022-05-17

* pass in hash funcs (78c606cf)
* pass in hash constructor (33e11bdd)
* test parallel (da622527)
* merge (6b455c1f)
* break out tests (bd7e0875)
* rename (96a3c503)
* split files (bee6fdee)
* errgroup (20b7acf9)
* fix stream file bugs (375a7c41)
* bugs (dcffb41c)
* badges (36061041)
* readme (9c9be1d0)
* ignore (3f7580b2)
* cli tool (0108a394)
* running example (372a3345)
* init (761b816e)
* Initial commit (b3d51c00)


Loading

0 comments on commit 723bd6b

Please sign in to comment.