forked from naskya/firefish
chore: remove untracked remnants of native-utils on upgrade
This commit is contained in:
parent
1fca25a8b2
commit
50b822d103
1 changed files with 7 additions and 0 deletions
|
@ -1,7 +1,14 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
|
# prefix message filename with timestamp
|
||||||
[ ! -f neko/flags/install_pgroonga ] || mv neko/flags/install_pgroonga neko/flags/20231128_install_pgroonga
|
[ ! -f neko/flags/install_pgroonga ] || mv neko/flags/install_pgroonga neko/flags/20231128_install_pgroonga
|
||||||
[ ! -f neko/flags/docker_compose_rename ] || mv neko/flags/docker_compose_rename neko/flags/20231129_docker_compose_rename
|
[ ! -f neko/flags/docker_compose_rename ] || mv neko/flags/docker_compose_rename neko/flags/20231129_docker_compose_rename
|
||||||
[ ! -f neko/flags/temp_upgrade_node_to_v21 ] || mv neko/flags/temp_upgrade_node_to_v21 neko/flags/20231229_upgrade_node_to_v21
|
[ ! -f neko/flags/temp_upgrade_node_to_v21 ] || mv neko/flags/temp_upgrade_node_to_v21 neko/flags/20231229_upgrade_node_to_v21
|
||||||
[ ! -f neko/flags/add_volume_to_docker_compose ] || mv neko/flags/add_volume_to_docker_compose neko/flags/20240102_add_volume_to_docker_compose
|
[ ! -f neko/flags/add_volume_to_docker_compose ] || mv neko/flags/add_volume_to_docker_compose neko/flags/20240102_add_volume_to_docker_compose
|
||||||
|
|
||||||
|
# remove native-utils
|
||||||
|
rm -rf packages/backend/native-utils/built
|
||||||
|
rm -rf packages/backend/native-utils/node_modules
|
||||||
|
rm -rf packages/backend/native-utils/target
|
||||||
|
rmdir packages/backend/native-utils || :
|
||||||
|
|
Loading…
Reference in a new issue