forked from forgejo/forgejo
* issue #1250, replace {pre,post}-receive and update hooks with a single shell script that does not require custom hooks to be a sh-script * issue #1250, make script posix compilant * v23, add migration script to update {pre,post}-receive and update hooks * migration: use a more common name and rename v23 to v26 to avoid conflicts * gofmt'ed and added copyright header * fix SyncRepositoryHooks to also sync wiki repos
This commit is contained in:
parent
d330a23ce1
commit
fe94032f74
3 changed files with 96 additions and 6 deletions
|
@ -100,6 +100,8 @@ var migrations = []Migration{
|
|||
NewMigration("change the key_id and primary_key_id type", changeGPGKeysColumns),
|
||||
// v25 -> v26
|
||||
NewMigration("add show field in user openid table", addUserOpenIDShow),
|
||||
// v26 -> v27
|
||||
NewMigration("generate and migrate repo and wiki Git hooks", generateAndMigrateGitHookChains),
|
||||
}
|
||||
|
||||
// Migrate database to current version
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue