mirror of
https://github.com/JetBrains/intellij-platform-plugin-template.git
synced 2024-10-27 20:44:05 +00:00
Fixed remove-on0-cleanup operation
This commit is contained in:
parent
b58cb1e66b
commit
2f1c64e170
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -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
|
||||
|
4
.github/workflows/template-cleanup.yml
vendored
4
.github/workflows/template-cleanup.yml
vendored
@ -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…
Reference in New Issue
Block a user