Skip to content

Commit

Permalink
Merge pull request #2 from maxmind/pcronin/fix-release
Browse files Browse the repository at this point in the history
Fix the release parameters
  • Loading branch information
PatrickCronin authored Feb 18, 2020
2 parents 6be837d + 34b416f commit 4cb82ab
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 7 deletions.
11 changes: 5 additions & 6 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,15 @@ archives:
- id: 'mmdbinspect'
builds:
- 'mmdbinspect'
replacements:
darwin: 'Darwin'
linux: 'Linux'
windows: 'Windows'
386: 'i386'
amd64: 'x86_64'
wrap_in_directory: true
format_overrides:
- goos: windows
format: zip
files:
- 'CHANGELOG.md'
- 'LICENSE-APACHE'
- 'LICENSE-MIT'
- 'README.md'

checksum:
name_template: 'checksums.txt'
Expand Down
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# CHANGELOG

## 0.0.0 (2020-02-10)
## 0.1.1 (2020-02-18)

* Fix release config
* Add release instructions

## 0.1.0 (2020-02-18)

* Initial beta release
13 changes: 13 additions & 0 deletions README.dev.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Releasing

* Install `goreleaser`. Refer to its docs.
* Set a `GITHUB_TOKEN` environment variable. Refer to `goreleaser` docs for
information.
* Update `CHANGELOG.md`.
* Mention recent changes.
* Set a version if there is not one.
* Set a release date.
* Commit `CHANGELOG.md`.
* Tag the release: `git tag -a v1.2.3 -m 'Tag v1.2.3'`.
* Push the tag: `git push origin v1.2.3`.
* Run `goreleaser`.

0 comments on commit 4cb82ab

Please sign in to comment.