Skip to content

Commit

Permalink
chore: add cog.toml for release
Browse files Browse the repository at this point in the history
  • Loading branch information
zaucy committed Aug 7, 2024
1 parent ef5fcb3 commit 24fdf18
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions cog.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
pre_bump_hooks = [
"nu -c \"open Ecsact.uplugin | from json | update VersionName '{{version}}' | to json -t 1 | save Ecsact.uplugin -f\"",
]

post_bump_hooks = [
"git push",
"git push origin {{version}}",
"gh release create {{version}} --generate-notes --latest -t {{version}} --verify-tag",
]

0 comments on commit 24fdf18

Please sign in to comment.