Skip to content

Commit

Permalink
DEV2-3213: Fix bundeling the chat for self hosted (#588)
Browse files Browse the repository at this point in the history
* DEV2-3213: Fix bundeling the chat for self hosted

* fix builds

* revert
  • Loading branch information
Assaf Sapir authored Jul 20, 2023
1 parent a044246 commit 2967e8a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/production-new-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,8 @@ jobs:

- name: Extract Chat App Build
run: |
mkdir -p ./Tabnine/tabnineChat
cp build.tar.gz ./Tabnine/tabnineChat/chat-bundle.tar.gz
mkdir -p ./TabnineSelfHosted/tabnineChat
cp build.tar.gz ./TabnineSelfHosted/tabnineChat/chat-bundle.tar.gz
- name: Build the self-hosted plugin
run: ./gradlew :TabnineSelfHosted:buildPlugin -PexternalVersion=${{ needs.set-version.outputs.build_version }} -Pchannel=self_hosted
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ reports/
Library/
src/main/resources/binaries
!src/main/resources/binaries/downloadBinaries.sh
chat-bundle.tar.gz
6 changes: 6 additions & 0 deletions TabnineSelfHosted/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,9 @@ sourceSets {
java.srcDirs += "../TabnineSelfHostedForMarketplace/src/main/java"
}
}

sourceSets {
main {
resources.srcDirs += "tabnineChat"
}
}

0 comments on commit 2967e8a

Please sign in to comment.