1
Fork 0

Add publishing command

This commit is contained in:
Lucas Schwiderski 2024-03-21 13:41:09 +01:00
parent 5a2855f0ae
commit 1b3d16c479
Signed by: lucas
GPG key ID: AA12679AAA6DF4D8
3 changed files with 34 additions and 24 deletions

View file

@ -1,65 +1,67 @@
= Changelog # Changelog
:toc:
:toclevels: 1
:idprefix:
:idseparator: -
== [Unreleased] <!-- next-header -->
== [v1.1.0] - 2024-03-21 ## [Unreleased] - ReleaseDate
=== Added ### Added
- publishing to [crates.io](https://crates.io)
## [v1.1.0] - 2024-03-21
### Added
- implement serializing into generic `io::Write` - implement serializing into generic `io::Write`
=== Fixed ### Fixed
- fix parsing CRLF - fix parsing CRLF
== [v1.0.0] - 2023-03-10 ## [v1.0.0] - 2023-03-10
=== Added ### Added
- implement literal strings - implement literal strings
=== Fixed ### Fixed
- fix serializing strings containing `:` - fix serializing strings containing `:`
- fix serializing certain escaped characters - fix serializing certain escaped characters
== [v0.2.4] - 2023-03-01 ## [v0.2.4] - 2023-03-01
=== Fixed ### Fixed
- fix incorrect parsing of unquoted strings - fix incorrect parsing of unquoted strings
== [v0.2.3] - 2023-02-24 ## [v0.2.3] - 2023-02-24
=== Fixed ### Fixed
- support backslashes in delimited strings - support backslashes in delimited strings
== [v0.2.2] - 2023-02-18 ## [v0.2.2] - 2023-02-18
=== Fixed ### Fixed
- fix deserialization failing on arrays and objects in some cases - fix deserialization failing on arrays and objects in some cases
== [v0.2.1] - 2022-12-28 ## [v0.2.1] - 2022-12-28
=== Fixed ### Fixed
- fix serializing Unicode - fix serializing Unicode
== [v0.2.0] - 2022-11-25 ## [v0.2.0] - 2022-11-25
=== Added ### Added
* parsing & deserialization * parsing & deserialization
== [v0.1.0] - 2022-11-18 ## [v0.1.0] - 2022-11-18
=== Added ### Added
* initial release * initial release
* serialization * serialization

View file

@ -18,6 +18,9 @@ doc:
serve-doc port='8000': doc serve-doc port='8000': doc
python3 -m http.server {{port}} --directory target/doc python3 -m http.server {{port}} --directory target/doc
release version execute='':
cargo release --sign --allow-branch master {{ if execute != "" { '-x' } else { '' } }} {{version}}
coverage *ARGS: coverage *ARGS:
RUSTFLAGS="-C instrument-coverage" cargo test --tests {{ARGS}} || true RUSTFLAGS="-C instrument-coverage" cargo test --tests {{ARGS}} || true
cargo profdata -- merge -sparse default*.profraw -o {{project}}.profdata cargo profdata -- merge -sparse default*.profraw -o {{project}}.profdata

5
release.toml Normal file
View file

@ -0,0 +1,5 @@
pre-release-replacements = [
{file="CHANGELOG.md", search="Unreleased", replace="{{version}}"},
{file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}"},
{file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n\n## [Unreleased] - ReleaseDate", exactly=1},
]