diff --git a/gitea/migrate.sh b/gitea/migrate.sh new file mode 100755 index 0000000..d901305 --- /dev/null +++ b/gitea/migrate.sh @@ -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" {} +