Skip to content

Commit

Permalink
Add a check to prevent EDGEDB_CATALOG_VERSION slippage during release
Browse files Browse the repository at this point in the history
  • Loading branch information
msullivan committed Dec 14, 2024
1 parent 5b014cc commit a5b522a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions edb/buildmeta.py
Original file line number Diff line number Diff line change
Expand Up @@ -618,3 +618,8 @@ def get_version_line() -> str:
extras.append(f"for {ver_meta['target']}")

return get_version_string() + " ".join(extras)


# Belt and suspenders check to prevent accidental changes.
# DO NOT EVER CHANGE THIS.
assert EDGEDB_CATALOG_VERSION == 2024_12_13_00_00 # Friday the 13th.

0 comments on commit a5b522a

Please sign in to comment.