Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CHANGELOG.md and release process #16

Merged
merged 1 commit into from
Jun 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Changelog

## [v1.0.0](https://github.com/DFE-Digital/dfe-analytics/tree/v1.0.0) (2022-06-10)

[Full Changelog](https://github.com/DFE-Digital/dfe-analytics/compare/v0.1.0...v1.0.0)

**Merged pull requests:**

- Bump to v1 [\#15](https://github.com/DFE-Digital/dfe-analytics/pull/15) ([duncanjbrown](https://github.com/duncanjbrown))
- add setup dummy db steps to reamde [\#14](https://github.com/DFE-Digital/dfe-analytics/pull/14) ([misaka](https://github.com/misaka))
- fix raise to keep rubocop happy [\#13](https://github.com/DFE-Digital/dfe-analytics/pull/13) ([misaka](https://github.com/misaka))
- Fix rake task when using arguments [\#12](https://github.com/DFE-Digital/dfe-analytics/pull/12) ([tomas-stefano](https://github.com/tomas-stefano))
- add have\_sent\_analytics\_event rspec matcher [\#11](https://github.com/DFE-Digital/dfe-analytics/pull/11) ([misaka](https://github.com/misaka))
- Make Rails a development\_dependency [\#10](https://github.com/DFE-Digital/dfe-analytics/pull/10) ([duncanjbrown](https://github.com/duncanjbrown))
- Set up Rubocop, run it in CI [\#9](https://github.com/DFE-Digital/dfe-analytics/pull/9) ([duncanjbrown](https://github.com/duncanjbrown))
- Run specs on all PRs \(and fix a flaky spec\) [\#8](https://github.com/DFE-Digital/dfe-analytics/pull/8) ([duncanjbrown](https://github.com/duncanjbrown))
- Configure ActiveJob retry \(max 5 attempts\) [\#7](https://github.com/DFE-Digital/dfe-analytics/pull/7) ([duncanjbrown](https://github.com/duncanjbrown))
- Fix typo [\#5](https://github.com/DFE-Digital/dfe-analytics/pull/5) ([CristinaRO](https://github.com/CristinaRO))
- Correct request spec [\#4](https://github.com/DFE-Digital/dfe-analytics/pull/4) ([duncanjbrown](https://github.com/duncanjbrown))
- Use snake\_case for config file [\#3](https://github.com/DFE-Digital/dfe-analytics/pull/3) ([duncanjbrown](https://github.com/duncanjbrown))

## [v0.1.0](https://github.com/DFE-Digital/dfe-analytics/tree/v0.1.0) (2022-04-21)

[Full Changelog](https://github.com/DFE-Digital/dfe-analytics/compare/89c136eb84efcccbfabc823c5fb4aa2fc96ff6dd...v0.1.0)

**Merged pull requests:**

- Standardise event-schema.json [\#2](https://github.com/DFE-Digital/dfe-analytics/pull/2) ([duncanjbrown](https://github.com/duncanjbrown))
- Add config options: queue name, BQ timeout, BQ retries [\#1](https://github.com/DFE-Digital/dfe-analytics/pull/1) ([duncanjbrown](https://github.com/duncanjbrown))



\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,18 @@ bundle exec rails dfe:analytics:import_entity[ModelName]
4. Run the tests: `bundle exec rspec`
5. Run rubocop: `bundle exec rubocop`

## Releasing

Dependencies:

- [github_changelog_generator](https://github.com/github-changelog-generator/Github-Changelog-Generator)
- [gem_release](https://github.com/svenfuchs/gem-release) (or DIY)

1. Raise a PR bumping the version and get it merged
1. On `main`, tag the current version using `gem tag`. Tags should be in the form `vX.X.X`
1. Push the tag: `git push origin <tag name>` (or use `gem tag -p` and skip this step)
1. Generate a changelog: `github_changelog_generator -u DFE-Digital -p dfe-analytics` and PR that.

## License

The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).