Commit Diff


commit - d6c4d11e50b169ebfbef3ece453d0ef060bbd4d7
commit + 9dd9af108ffadefeac616c03aae372ff8c7b0fb5
blob - 8c40b11b4d78787dea422257c8c9d19674fdfa4b
blob + 0c226b43c9cd7fc6a3426c29dafa105fe8440dcb
--- README.md
+++ README.md
@@ -88,3 +88,10 @@ When making changes on the database, make sure that:
 - a migration is created in the `migrations` folder with `cargo sqlx migrate add
   -r $MIGRATION_DESCRIPTION`
 - `sqlx-data.json` is up to date by issuing `cargo sqlx prepare`
+
+# Making a release
+
+- Make sure the pre-commit hook `contrib/githooks/pre-commit` runs successfully
+- Bump version in Cargo.toml
+- Generate new Cargo.lock
+- Make release commit
blob - 860fa84ca9ad8f1c83cddb26c95f9b7a482dce8f (mode 644)
blob + /dev/null
--- cog.toml
+++ /dev/null
@@ -1,11 +0,0 @@
-ignore_merge_commits = true
-branch_whitelist = ["main"]
-pre_bump_hooks = [
-	"cargo fmt -- --check",
-	"cargo clippy -- -D warnings",
-	"cargo test",
-	"cargo set-version {{version}}",
-	"cargo build --release",
-	"git add :/Cargo.lock",
-]
-tag_prefix = "v"