Skip to content

Commit

Permalink
fix sign task
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmai-dev committed Dec 2, 2023
1 parent f158fe6 commit 1980aa8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@

## [Unreleased]

## [1.2.6] - 2023-12-02

### Changed

- upgrade libraries

### Fixed

- Fixed PSI and index do not match

## [1.2.5] - 2023-09-10

### Changed
Expand Down Expand Up @@ -102,6 +112,7 @@
- SQL to Struct

[Unreleased]: https://github.com/maiqingqiang/go-orm-helper/compare/v1.2.5...HEAD
[1.2.6]: https://github.com/maiqingqiang/go-orm-helper/compare/v1.2.5...v1.2.6
[1.2.5]: https://github.com/maiqingqiang/go-orm-helper/compare/v1.2.4...v1.2.5
[1.2.4]: https://github.com/maiqingqiang/go-orm-helper/compare/v1.2.3...v1.2.4
[1.2.3]: https://github.com/maiqingqiang/go-orm-helper/compare/v1.2.2...v1.2.3
Expand Down
8 changes: 4 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import org.jetbrains.changelog.Changelog
import org.jetbrains.changelog.markdownToHTML

fun properties(key: String) = providers.gradleProperty(key)
fun environment(key: String) = providers.environmentVariable(key)
Expand Down Expand Up @@ -114,8 +113,8 @@ tasks {
}

signPlugin {
certificateChainFile = file(environment("CERTIFICATE_CHAIN_FILE"))
privateKeyFile = file(environment("PRIVATE_KEY_FILE"))
certificateChainFile = File(environment("CERTIFICATE_CHAIN_FILE").get())
privateKeyFile = File(environment("PRIVATE_KEY_FILE").get())
password = environment("PRIVATE_KEY_PASSWORD")
}

Expand All @@ -125,6 +124,7 @@ tasks {
// The pluginVersion is based on the SemVer (https://semver.org) and supports pre-release labels, like 2.1.7-alpha.3
// Specify pre-release label to publish the plugin in a custom Release Channel automatically. Read more:
// https://plugins.jetbrains.com/docs/intellij/deployment.html#specifying-a-release-channel
channels = properties("pluginVersion").map { listOf(it.split('-').getOrElse(1) { "default" }.split('.').first()) }
channels =
properties("pluginVersion").map { listOf(it.split('-').getOrElse(1) { "default" }.split('.').first()) }
}
}

0 comments on commit 1980aa8

Please sign in to comment.