gitea: add migration script

Signed-off-by: T-Hax <>
This commit is contained in:
T-Hax 2023-05-19 20:20:05 +00:00
parent c6fea739bc
commit 92bb8d082a
No known key found for this signature in database

2
gitea/migrate.sh Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
find @tornado package.json -type f -name "package.json" -not -path "*node_modules*" -execdir sed -i "s/$OLD_REGISTRY_DOMAIN\/$OLD_REGISTRY_USER/$TARGET_REGISTRY_DOMAIN\/$TARGET_REGISTRY_USER/g" {} +