Skip to content

Commit d6da8aa

Browse files
committed
Bump up plugin version
1 parent fdd5282 commit d6da8aa

File tree

4 files changed

+19
-3
lines changed

4 files changed

+19
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ out/
77

88
# the gradle temp dir
99
.gradle
10+
*.iml
1011

1112
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
1213
!gradle-wrapper.jar

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
## 2.0.0 - 2017-09-27
2+
3+
### Added
4+
5+
- Allow admin to choose authorization using `PersonalAccessToken` or `UserAccessToken`
6+
- **PersonalAccessToken:** requires an additional permission `read:org` to authorize user based on role configuration.
7+
- **UserAccessToken:** requires an additional `read:org` permission from user. This allows plugins to access private org and teams of user.
8+
9+
### Fixed
10+
11+
- Role assignment based on team membership.
12+
- Security fix for cross login issue with v1.0.0 of the plugin due to provider caching at plugin side.
13+
114
## 1.0.0 - 2017-07-25
215

316
Initial release of plugin

build.gradle

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@
1717
apply plugin: 'java'
1818
apply from: 'plugin-common.gradle'
1919

20-
version = '1.0.0'
20+
project.ext.pluginVersion = '2.0.0'
21+
project.ext.fullVersion = project.distVersion ? "${project.pluginVersion}-${project.distVersion}" : project.pluginVersion
22+
23+
version = project.fullVersion
2124
group = 'cd.go'
2225

2326
project.ext.pluginDesc = [
@@ -37,7 +40,7 @@ repositories {
3740

3841
dependencies {
3942
compileOnly group: 'cd.go.plugin', name: 'go-plugin-api', version: '17.5.0'
40-
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.0'
43+
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.1'
4144
compile group: 'org.kohsuke', name: 'github-api', version: '1.86'
4245
compile group: 'com.squareup.okhttp3', name: 'okhttp', version: '3.8.1'
4346

plugin-common.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ def releaseRevision = { ->
3636

3737
project.ext.gitRevision = gitRevision()
3838
project.ext.distVersion = releaseRevision()
39-
project.ext.fullVersion = "${version} (${gitRevision})"
4039

4140
sourceCompatibility = 1.8
4241
targetCompatibility = 1.8

0 commit comments

Comments
 (0)