archive-monorepo/gitea/migrate.sh
T-Hax 92bb8d082a
gitea: add migration script
Signed-off-by: T-Hax <>
2023-05-19 20:20:19 +00:00

3 lines
211 B
Bash
Executable File

#!/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" {} +