From 09bace795efccaab21ccb76dd0b2f7bb8e6a818f Mon Sep 17 00:00:00 2001 From: Jakub Chrzanowski Date: Thu, 18 Jun 2020 11:18:51 +0200 Subject: [PATCH] GitHub Actions - Template Cleanup fix --- .github/workflows/template-cleanup.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/template-cleanup.yml b/.github/workflows/template-cleanup.yml index cc44880..1837409 100644 --- a/.github/workflows/template-cleanup.yml +++ b/.github/workflows/template-cleanup.yml @@ -34,13 +34,13 @@ jobs: GROUP="com.github.$ACTOR.$SAFE_NAME" # Replace placeholders in the template-cleanup files - sed -i '' "s/%NAME%/$NAME/g" .github/template-cleanup/* - sed -i '' "s/%REPOSITORY%/${GITHUB_REPOSITORY/\//\\/}/g" .github/template-cleanup/* - sed -i '' "s/%GROUP%/$GROUP/g" .github/template-cleanup/* + sed -i "s/%NAME%/$NAME/g" .github/template-cleanup/* + sed -i "s/%REPOSITORY%/${GITHUB_REPOSITORY/\//\\/}/g" .github/template-cleanup/* + sed -i "s/%GROUP%/$GROUP/g" .github/template-cleanup/* # Replace template package name in project files with $GROUP - sed -i '' "s/org.jetbrains.plugins.template/$GROUP/g" gradle.properties - find src -type f -exec sed -i '' "s/org.jetbrains.plugins.template/$GROUP/g" {} + + sed -i "s/org.jetbrains.plugins.template/$GROUP/g" gradle.properties + find src -type f -exec sed -i "s/org.jetbrains.plugins.template/$GROUP/g" {} + # Move content mkdir -p src/main/kotlin/${GROUP//.//}