mirror of
https://github.com/JetBrains/intellij-platform-plugin-template.git
synced 2024-10-27 20:44:05 +00:00
GitHub Actions - Template Cleanup fix
This commit is contained in:
parent
3ba29db42f
commit
09bace795e
10
.github/workflows/template-cleanup.yml
vendored
10
.github/workflows/template-cleanup.yml
vendored
@ -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//.//}
|
||||
|
Loading…
Reference in New Issue
Block a user