Skip to content

Commit

Permalink
Merge pull request #20 from tyro/Check_On_2021.2
Browse files Browse the repository at this point in the history
Tested on 2021.2. Fix incorrect logger name.
  • Loading branch information
steveorourke authored Aug 18, 2021
2 parents fdaaf1c + 16b68ac commit c5cf571
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
7 changes: 5 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,14 @@ compileTestKotlin {
}

intellij {
version '2021.1.3'
version '2021.2'
}

patchPluginXml {
changeNotes """21/07/2021<br>
changeNotes """17/08/2021<br>
Tested on 2021.2<br>
<br>
21/07/2021<br>
Add Websocket server support<br>
<br>
02/07/2021<br>
Expand Down
8 changes: 5 additions & 3 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@

# Token lives in prd vault, "token Pairing Tool Upload"
TOKEN="secret"
VERSION="3.1.$(date +"%s")"
VERSION="4.0.$(date +"%s")"
# Blank channel is the main release channel
CHANNEL=

echo "Publishing $VERSION"

./gradlew \
clean \
licenseFormat \
Expand All @@ -16,5 +18,5 @@ CHANNEL=
-Ptoken=$TOKEN \
-Pchannels=$CHANNEL

gh release create ${VERSION} build/distributions/* \
-t ${VERSION}
#gh release create ${VERSION} build/distributions/* \
# -t ${VERSION}
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class WebSocketServer(
private val blockingQueue: BlockingQueue<String> = LinkedBlockingQueue()

companion object {
private val LOG = Logger.getInstance(KafkaClient::class.java)
private val LOG = Logger.getInstance(WebSocketServer::class.java)
}

init {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ class ToggleKafkaConnectionButton : AnActionButton(START_TEXT, START_ICON) {
override fun actionPerformed(e: AnActionEvent) {
val app = ApplicationManager.getApplication().getComponent(PairingToolInitializer::class.java)
if(app?.isPairing() == true) {
ActionManager.getInstance().getActionOrStub(
ActionManager.getInstance().getAction(
StopPairing.STOP_PAIRING_ID
)?.actionPerformed(e)
} else {
ActionManager.getInstance().getActionOrStub(
ActionManager.getInstance().getAction(
StartPairing.START_PARING_ID
)?.actionPerformed(e)
}
Expand Down

0 comments on commit c5cf571

Please sign in to comment.