From d8b8d37d8539be857c9ddb4e3cdeff208368436d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Kalfon?= Date: Fri, 27 Oct 2023 12:04:44 +0200 Subject: [PATCH] Delete .github/rename_project.sh --- .github/rename_project.sh | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100755 .github/rename_project.sh diff --git a/.github/rename_project.sh b/.github/rename_project.sh deleted file mode 100755 index b3d36fd..0000000 --- a/.github/rename_project.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/env bash -while getopts a:n:u:d: flag -do - case "${flag}" in - a) author=${OPTARG};; - n) name=${OPTARG};; - u) urlname=${OPTARG};; - d) description=${OPTARG};; - esac -done - -echo "Author: $author"; -echo "Project Name: $name"; -echo "Project URL name: $urlname"; -echo "Description: $description"; - -echo "Renaming project..." - -original_author="jkobject" -original_name="scprint" -original_urlname="scPRINT" -original_description="Awesome scprint created by jkobject" -# for filename in $(find . -name "*.*") -for filename in $(git ls-files) -do - sed -i "s/$original_author/$author/g" $filename - sed -i "s/$original_name/$name/g" $filename - sed -i "s/$original_urlname/$urlname/g" $filename - sed -i "s/$original_description/$description/g" $filename - echo "Renamed $filename" -done - -mv scprint $name - -# This command runs only once on GHA! -rm -rf .github/template.yml