mirror of
https://github.com/JetBrains/intellij-platform-plugin-template.git
synced 2026-03-02 03:39:24 +00:00
properties shorthand function for accessing gradle.properties in a cleaner way (#92)
This commit is contained in:
committed by
GitHub
parent
b812e459d4
commit
507b055937
2
.github/template-cleanup/gradle.properties
vendored
2
.github/template-cleanup/gradle.properties
vendored
@@ -2,7 +2,7 @@
|
||||
# -> https://plugins.jetbrains.com/docs/intellij/intellij-artifacts.html
|
||||
|
||||
pluginGroup = %GROUP%
|
||||
pluginName_ = %NAME%
|
||||
pluginName = %NAME%
|
||||
pluginVersion = 0.0.1
|
||||
pluginSinceBuild = 202
|
||||
pluginUntilBuild = 203.*
|
||||
|
||||
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -114,7 +114,7 @@ jobs:
|
||||
run: |
|
||||
PROPERTIES="$(./gradlew properties --console=plain -q)"
|
||||
VERSION="$(echo "$PROPERTIES" | grep "^version:" | cut -f2- -d ' ')"
|
||||
NAME="$(echo "$PROPERTIES" | grep "^pluginName_:" | cut -f2- -d ' ')"
|
||||
NAME="$(echo "$PROPERTIES" | grep "^pluginName:" | cut -f2- -d ' ')"
|
||||
CHANGELOG="$(./gradlew getChangelog --unreleased --no-header --console=plain -q)"
|
||||
CHANGELOG="${CHANGELOG//'%'/'%25'}"
|
||||
CHANGELOG="${CHANGELOG//$'\n'/'%0A'}"
|
||||
|
||||
Reference in New Issue
Block a user