diff --git a/.github/workflows/template-cleanup.yml b/.github/workflows/template-cleanup.yml index 8c394eb..340495b 100644 --- a/.github/workflows/template-cleanup.yml +++ b/.github/workflows/template-cleanup.yml @@ -36,8 +36,12 @@ jobs: SAFE_ORG=$(echo $ORG | sed 's/[^a-zA-Z0-9]//g' | tr '[:upper:]' '[:lower:]') GROUP="com.github.$SAFE_ORG" + # Prepare wrapped name + WRAPPED_NAME="\`${NAME}\`" + # Replace placeholders - sed -i "s/%NAME%/$NAME/g" build.sbt build.sc README.md src/test/scala/gcd/* + sed -i "s/%NAME%/$NAME/g" build.sbt README.md src/test/scala/gcd/* + sed -i "s/%NAME%/$WRAPPED_NAME/g" build.sc sed -i "s/%REPOSITORY%/${GITHUB_REPOSITORY/\//\\/}/g" README.md sed -i "s/%ORGANIZATION%/$GROUP/g" build.sbt