Splitting update step into 3 steps.

This commit is contained in:
José Manuel Barroso Galindo
2022-11-20 01:14:20 +01:00
parent b9df6e1cd4
commit ac63ad48c6
3 changed files with 31 additions and 6 deletions

21
.github/commit_distribution.sh vendored Executable file
View File

@@ -0,0 +1,21 @@
#!/usr/bin/env bash
# Copyright (c) 2022 José Manuel Barroso Galindo <theypsilon@gmail.com>
set -euo pipefail
git config --global user.email "theypsilon@gmail.com"
git config --global user.name "The CI/CD Bot"
git checkout -f develop -b main
echo "Running detox"
detox -v -s utf_8-only -r *
echo "Detox done"
echo "Removing colons"
IFS=$'\n'
for i in $(find . -name "*:*"); do
echo mv "${i}" "${i/:/-}"
mv "${i}" "${i/:/-}"
done
echo "Colons removed"
git add .
git commit -m "-"
git fetch origin main || true