Skip to content

Commit

Permalink
chore: release 0.26.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mzdun committed Jun 3, 2024
1 parent 30352f7 commit 9ca7be3
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 6 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes to this project will be documented in this file. See [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) and [COMMITS.md](COMMITS.md) for commit guidelines.

## [0.26.2](https://github.com/mzdun/cov/compare/v0.26.1...v0.26.2) (2024-06-03)

### Bug Fixes

- quick cleanup of schema $id ([30352f7](https://github.com/mzdun/cov/commit/30352f788697ed321b40ada80037921c6f6d1c7b))

## [0.26.1](https://github.com/mzdun/cov/compare/v0.26.0...v0.26.1) (2024-06-03)

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required (VERSION 3.25)
project (cov
DESCRIPTION "Code coverage presented locally"
VERSION 0.26.1
VERSION 0.26.2
LANGUAGES CXX
)

Expand Down
2 changes: 1 addition & 1 deletion apps/builds-schema.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2019-09/schema",
"$id": "https://raw.githubusercontent.com/mzdun/cov/v0.25.0/apps/builds-schema.json",
"$id": "https://raw.githubusercontent.com/mzdun/cov/v0.26.2/apps/builds-schema.json",
"type": "object",
"default": {},
"title": "Root Schema",
Expand Down
2 changes: 1 addition & 1 deletion apps/report-schema.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2019-09/schema",
"$id": "https://raw.githubusercontent.com/mzdun/cov/v0.26.1/apps/report-schema.json",
"$id": "https://raw.githubusercontent.com/mzdun/cov/v0.26.2/apps/report-schema.json",
"type": "object",
"default": {},
"title": "Root Schema",
Expand Down
9 changes: 6 additions & 3 deletions tools/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,12 @@ def release(
if not Environment.DRY_RUN or show_changelog:
update_changelog(log, next_tag, project.tag(), github_link)
set_version(next_tag[1:])
for schema in ["apps/report-schema.json", "apps/builds-schema.json"]:
if update_schema_id(schema, schema_id, next_tag):
additional_changed_files.append(os.path.join(ROOT, schema))
for schema in ["apps/report-schema.json", "apps/builds-schema.json"]:
append = True
if not Environment.DRY_RUN:
append = update_schema_id(schema, schema_id, next_tag)
if append:
additional_changed_files.append(os.path.join(ROOT, schema))

commit_message = f"release {next_tag[1:]}"

Expand Down

0 comments on commit 9ca7be3

Please sign in to comment.