Skip to content

Commit 461ea6a

Browse files
committed
provide token publish option for gradle
1 parent f11aacc commit 461ea6a

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

MAINTENANCE.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,10 @@ automatically. This will include the changelog generated earlier.
4646
Execute the following gradle task:
4747

4848
```bash
49-
IJ_REPO_USERNAME=youruser IJ_REPO_PASSWORD=yourpassword ./gradlew clean buildPlugin publishPlugin
49+
IJ_TOKEN=yourtoken ./gradlew clean buildPlugin publishPlugin
5050
```
51+
52+
Token documentation:
53+
54+
* http://www.jetbrains.org/intellij/sdk/docs/plugin_repository/api/plugin_upload.html
55+
* https://www.jetbrains.com/help/hub/Manage-Permanent-Tokens.html

build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,7 @@ patchPluginXml {
9696
}
9797

9898
publishPlugin {
99-
username System.getenv('IJ_REPO_USERNAME')
100-
password System.getenv('IJ_REPO_PASSWORD')
99+
token System.getenv('IJ_TOKEN')
101100
}
102101

103102
group 'fr.adrienbrault.idea.symfony2plugin'

0 commit comments

Comments
 (0)