Extend GitHub Actions template-cleanup.yml workflow with ability to remove content marked with #REMOVE-IN-CLEANUP#

This commit is contained in:
Jakub Chrzanowski 2020-06-25 06:17:57 +02:00
parent d68f01d163
commit c23f8b9d3a

View File

@ -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/* .