aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtools/create_new_release_link.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/create_new_release_link.sh b/tools/create_new_release_link.sh
new file mode 100755
index 000000000..841666362
--- /dev/null
+++ b/tools/create_new_release_link.sh
@@ -0,0 +1,16 @@
+#!/bin/bash
+# de,fr,uk,etc to en/ simlink
+# inspired by move_i1n8n_release.sh
+
+dir_to_to_create=8
+
+for directory in ./langs/*
+do
+ # in each language directory except source
+ if [ -d "$directory/" ] && [ $directory != "./langs/en" ]; then
+ lang=$(basename $directory)
+ cd $lang
+ ln -s ../en/$dir_to_to_create $dir_to_to_create
+ cd ../
+ fi
+done