Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into oty-update-1-14
Browse files Browse the repository at this point in the history
  • Loading branch information
ggwpez committed Jul 29, 2024
2 parents 04c308b + 87467d3 commit ab7f497
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/changelog-processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@
lines = changelog.readlines()

if args.validate_changelog:
versions = set()

for line in lines:
if line.startswith("##"):
if line.startswith("###"):
Expand All @@ -57,6 +59,13 @@
print("Only Major.Minor.Patch are supported as versioning")
print(line)
sys.exit(-1)
else:
version = line.strip().removeprefix("## [").split("]")[0]
if version in versions:
print("Found version '" + version + "' more than once")
sys.exit(-1)
else:
versions.add(version)
elif line.startswith("#"):
if line.strip() != "# Changelog":
print("Line starting with `#` is only allowed for `# Changelog`")
Expand Down
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- RFC-5: Add request revenue info ([runtimes#381](https://github.com/polkadot-fellows/runtimes/pull/381), [SDK v1.14 #3940](https://github.com/paritytech/polkadot-sdk/pull/3940)).
- Core-Fellowship: new `promote_fast` call ([runtimes#381](https://github.com/polkadot-fellows/runtimes/pull/381), [SDK v1.14 #4877](https://github.com/paritytech/polkadot-sdk/pull/4877)).
- Pallet ranked collective: max member count per rank ([runtimes#381](https://github.com/polkadot-fellows/runtimes/pull/381), [SDK v1.14 #4807](https://github.com/paritytech/polkadot-sdk/pull/4807)).

- All runtimes: XcmPaymentApi and DryRunApi ([polkadot-fellows/runtimes#380](https://github.com/polkadot-fellows/runtimes/pull/380))

#### From [#322](https://github.com/polkadot-fellows/runtimes/pull/322):
Expand Down

0 comments on commit ab7f497

Please sign in to comment.