Skip to content

Commit

Permalink
fix release tool and update docs (#679)
Browse files Browse the repository at this point in the history
  • Loading branch information
gtfierro authored Jan 16, 2025
1 parent 30d0690 commit 83e2cd7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ for example, using the git tag for the `v1.2.0` release:
git shortlog v1.2.0..HEAD -n -s
```

Include the added/removed classes at the bottom of the release notes. Be sure to tag the release following the usual naming schema `vMAJOR.MINOR.PATCH`.
Copy the contents of `history/<old version>-<released version>/release_notes.md` file into the bottom of the release notes on GitHub.

Be sure to tag the release following the usual naming schema `vMAJOR.MINOR.PATCH`.

## Update `brickschema`

Expand Down
4 changes: 2 additions & 2 deletions tools/compare_versions/compare_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,12 +217,12 @@ def prep_concept(graph, concept):
with open(history_dir / "release_notes.md", "w") as fp:
fp.write("## Added Concepts\n\n```\n")
for c in sorted(set(new_classes) - set(old_classes)):
fp.write(f"{c}")
fp.write(f"{c}\n")
fp.write("\n```\n")

fp.write("\n\n## Removed Concepts\n\n```\n")
for c in sorted(set(old_classes) - set(new_classes)):
fp.write(f"{c}")
fp.write(f"{c}\n")
fp.write("\n```\n")

fp.write("\n\n## Deprecations\n\n")
Expand Down

0 comments on commit 83e2cd7

Please sign in to comment.