Skip to content

Commit

Permalink
prepare Release 0.13.13
Browse files Browse the repository at this point in the history
change plugin signing
  • Loading branch information
MCMicS committed Oct 12, 2021
1 parent 77774e2 commit eee9e2c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# Changelog

## [Unreleased]
## [0.13.13]
- \#309 Exception in plugin Jenkins Control
- \#322 Nullpointer if Jenkins if not running
- move classes with module 'com.intellij.modules.vcs' to optional dependency
- \#308 Log streaming should cancelable

## [0.13.12]
- \#280 render DateParameterDefinition as textfield
Expand Down
17 changes: 10 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def jenkinsPluginName = 'jenkins-control-plugin'
def jenkinsPluginVersion = '0.13.13'

group 'org.codinjutsu'
version "${jenkinsPluginVersion}-2021.2-eap"
version "${jenkinsPluginVersion}-2021.2"
apply plugin: 'org.jetbrains.intellij'
apply plugin: 'org.jetbrains.changelog'
apply plugin: 'java'
Expand Down Expand Up @@ -193,16 +193,19 @@ runPluginVerifier {
verifierVersion = "latest"
}
signPlugin {
def _privateKey = file('private/signing.key')
def _certificateChain = file('private/signing.pem')
certificateChain.set(_certificateChain.exists() ? _certificateChain.text : null)
privateKey.set(_privateKey.exists() ? _privateKey.text : null)
def _privateKey = file('private/mcmics.pem')
def _certificateChain = file('private/mcmics-sign.crt')
privateKey.set(_privateKey.exists() ? _privateKey.text : System.getenv("PRIVATE_KEY"))
certificateChain.set(_certificateChain.exists() ? _certificateChain.text : System.getenv("CERTIFICATE_CHAIN"))
password.set(System.getenv("PRIVATE_KEY_PASSWORD"))
doLast {
copy {
from 'build/distributions'
include "${jenkinsPluginName}-signed.zip"
include "${jenkinsPluginName}-${project.version}-signed.zip"
into "snapshot"
rename "${jenkinsPluginName}-signed.zip", "${jenkinsPluginName}-${project.version}-signed.zip"
}
}
}
publishPlugin {
token.set(System.getenv("PUBLISH_TOKEN"))
}

0 comments on commit eee9e2c

Please sign in to comment.