Skip to content

Commit

Permalink
Merge pull request #1259 from cryspen/init-changelog
Browse files Browse the repository at this point in the history
changelog: initialize
  • Loading branch information
W95Psp authored Jan 20, 2025
2 parents 913ea8a + 79fa63e commit 440409c
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## 0.4.0 (2024-01-20)
- Initial release
6 changes: 6 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ window of 2 days, otherwise the PR will be reverted.
- Try to avoid exceptions, if possible.
- Never use `==`, which is the physical equality, and almost never what you want.

### Changelog
Our changelog format is based on https://keepachangelog.com/.
Please add an entry in a subsection (`Added`, `Changed`, `Deprecated`, `Removed`, `Fixed` -- see https://keepachangelog.com/en/1.0.0/#how) for each notable change.

Please prefix with `engine:`, `frontend:` or similar.

## Styleguides

### Git Commit Messages
Expand Down
7 changes: 4 additions & 3 deletions PUBLISHING.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,10 @@ engine. Those should not be published on `crate.io`.
2. `cargo-hax-engine-names-extract`

## Procedure
1. Bump the version number with `cargo release LEVEL --no-publish --no-tag --execute` (`cargo release --help` for more details on `LEVEL`). This will bump the version of every Rust crate, but also the version in `engine/dune-project`. This will also regenerate `engine/hax-engine.opam`. Note this will *not* publish the crate.
2. PR the change
3. when the PR is merged in main, checkout `main` and run `cargo release --execute`
1. Move the contents of `CHANGELOG.md` under the `[Unreleased]` section to a new section named following the target version
2. Bump the version number with `cargo release LEVEL --no-publish --no-tag --execute` (`cargo release --help` for more details on `LEVEL`). This will bump the version of every Rust crate, but also the version in `engine/dune-project`. This will also regenerate `engine/hax-engine.opam`. Note this will *not* publish the crate.
3. PR the change
4. when the PR is merged in main, checkout `main` and run `cargo release --execute`

Note: for now, we are not publishing to Opam. Instead, let's just advertise the following for installation:
```bash
Expand Down

0 comments on commit 440409c

Please sign in to comment.