From 6832abc5230034d3756b6a0bb222e7483175a7ee Mon Sep 17 00:00:00 2001 From: seaubot <81010316+seaubot@users.noreply.github.com> Date: Wed, 13 Sep 2023 13:49:18 -0700 Subject: [PATCH] chore: sync with ecsact_common (#110) --- cog.toml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/cog.toml b/cog.toml index 8f36126..15631fc 100644 --- a/cog.toml +++ b/cog.toml @@ -1,5 +1,11 @@ -post_bump_hooks = [ - "git push", - "git push origin {{version}}", - "gh release create {{version}} --generate-notes --latest -t {{version}} --verify-tag", -] +pre_bump_hooks = [ + "buildozer 'set version {{version}}' //MODULE.bazel:%module", + # Ecsact pre 1.0.0 the 0.X.0 is our 'major' version + "buildozer 'set compatibility_level {{version.minor}}' //MODULE.bazel:%module", +] + +post_bump_hooks = [ + "git push", + "git push origin {{version}}", + "gh release create {{version}} --generate-notes --latest -t {{version}} --verify-tag", +]