Fixed remove-on0-cleanup operation

pull/9/head v0.1.0
Jakub Chrzanowski 4 years ago
parent b58cb1e66b
commit 2f1c64e170

@ -12,7 +12,7 @@ jobs:
release:
name: Publish Plugin
runs-on: ubuntu-latest
if: github.repository != 'JetBrains/intellij-platform-plugin-template' #REMOVE-IN-CLEANUP#
if: github.repository != 'JetBrains/intellij-platform-plugin-template' #REMOVE-ON-CLEANUP#
steps:
# Check out current repository

@ -43,8 +43,8 @@ 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#/'
# Remove lines marked with #REMOVE-ON-CLEANUP#
find . -type f -exec sed -i '/#REMOVE-ON-CLEANUP#/d' {} +
# Move content
mkdir -p src/main/kotlin/${GROUP//.//}

@ -5,6 +5,7 @@
## [Unreleased]
### Added
- `settings.gradle.kts` for the [performance purposes](https://docs.gradle.org/current/userguide/organizing_gradle_projects.html#always_define_a_settings_file)
- `#REMOVE-ON-CLEANUP#` token to mark content to be removed with **Template Cleanup** workflow
### Changed
- README proofreading

Loading…
Cancel
Save