Skip to content

Commit

Permalink
cargo release config
Browse files Browse the repository at this point in the history
  • Loading branch information
SG60 committed Nov 5, 2024
1 parent 4a494d4 commit df6cd24
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/opentelemetry-tracing-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ 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).

<!-- next-header -->

## [Unreleased]

### Added
Expand All @@ -20,5 +22,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- make_tower_http_otel_trace_layer function, to create a tower layer that will propagate OTEL traces and also log requests.

[unreleased]: https://github.com/olivierlacan/keep-a-changelog/compare/opentelemetry-tracing-utils-v0.5.0...HEAD
<!-- next-url -->
[unreleased]: https://github.com/sg60/sg-rust-utils/compare/opentelemetry-tracing-utils-v0.5.0...HEAD
[0.5.0]: https://github.com/sg60/sg-rust-utils/compare/opentelemetry-tracing-utils-v0.4.2...opentelemetry-tracing-utils-v0.5.0
9 changes: 9 additions & 0 deletions release.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# config for cargo release (https://github.com/crate-ci/cargo-release)

pre-release-replacements = [
{file="CHANGELOG.md", search="Unreleased", replace="{{version}}"},
{file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}", exactly=1},
{file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}"},
{file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n\n## [Unreleased] - ReleaseDate", exactly=1},
{file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https://github.com/sg60/sg-rust-utils/compare/{{tag_name}}...HEAD", exactly=1},
]

0 comments on commit df6cd24

Please sign in to comment.