mirror of
https://github.com/JetBrains/intellij-platform-plugin-template.git
synced 2024-10-27 20:44:05 +00:00
Extend GitHub Actions template-cleanup.yml workflow with ability to remove content marked with #REMOVE-IN-CLEANUP#
This commit is contained in:
parent
d68f01d163
commit
c23f8b9d3a
3
.github/workflows/template-cleanup.yml
vendored
3
.github/workflows/template-cleanup.yml
vendored
@ -43,6 +43,9 @@ jobs:
|
||||
find src -type f -exec sed -i "s/org.jetbrains.plugins.template/$GROUP/g" {} +
|
||||
find src -type f -exec sed -i "s/JetBrains/$ACTOR/g" {} +
|
||||
|
||||
# Remove lines marked with #REMOVE-IN-CLEANUP#
|
||||
find . -type f -exec sed -i '/#REMOVE-IN-CLEANUP#/'
|
||||
|
||||
# Move content
|
||||
mkdir -p src/main/kotlin/${GROUP//.//}
|
||||
cp -R .github/template-cleanup/* .
|
||||
|
Loading…
Reference in New Issue
Block a user