mirror of
https://github.com/go-gitea/gitea
synced 2025-07-07 19:17:21 +00:00
* 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:
committed by
Lunny Xiao
parent
d330a23ce1
commit
fe94032f74
@ -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
|
||||
|
Reference in New Issue
Block a user