about summary refs log tree commit diff
path: root/MatrixUtils.RoomUpgradeCLI/mass-upgrade.sh
diff options
context:
space:
mode:
Diffstat (limited to 'MatrixUtils.RoomUpgradeCLI/mass-upgrade.sh')
-rwxr-xr-xMatrixUtils.RoomUpgradeCLI/mass-upgrade.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/MatrixUtils.RoomUpgradeCLI/mass-upgrade.sh b/MatrixUtils.RoomUpgradeCLI/mass-upgrade.sh
new file mode 100755

index 0000000..f21ea3c --- /dev/null +++ b/MatrixUtils.RoomUpgradeCLI/mass-upgrade.sh
@@ -0,0 +1,9 @@ +#! /usr/bin/env sh +dotnet build -c Release +cat lst | while read id +do + DOTNET_ENVIRONMENT=Local dotnet bin/Release/net9.0/MatrixUtils.RoomUpgradeCLI.dll new tmp/$id.json --upgrade $id --upgrade-unstable-values --force-upgrade --invite-powerlevel-users \; \ + import-upgrade-state tmp/$id.json \; \ + modify tmp/$id.json --version 12 & +done +wait \ No newline at end of file