Skip to content

Commit

Permalink
Bump to PRE14 and publish docs to main site
Browse files Browse the repository at this point in the history
  • Loading branch information
alexklibisz committed Apr 10, 2020
1 parent 69b08f6 commit 53f77ef
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 8 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,16 @@ jobs:
if: env.GET_RELEASE == '404'
run: make publish/docs

- name: Release Artifacts
- name: Release Python
if: env.GET_RELEASE == '404'
run: |
sudo snap install hub --classic
make publish/release/python
make publish/release/sonatype
make publish/release/plugin
run: make publish/release/python

- name: Release Scala
if: env.GET_RELEASE == '404'
run: make publish/release/sonatype

- name: Release Plugin
if: env.GET_RELEASE == '404'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: make publish/release/plugin
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,13 @@ compile/docs: .mk/gradle-docs .mk/client-python-docs
compile/site: .mk/jekyll-site-build

publish/docs: .mk/gradle-docs .mk/client-python-docs
ssh elastiknn-site mkdir -p $(site_arch)/$(version)
ssh $(site_srvr) mkdir -p $(site_arch)/$(version)
rsync -av --delete build/docs/scaladoc $(site_srvr):$(site_arch)/$(version)
rsync -av --delete client-python/pdoc/elastiknn/ $(site_srvr):$(site_arch)/$(version)/pdoc

ssh $(site_srvr) mkdir -p $(site_main)/docs
rsync -av --delete build/docs/scaladoc $(site_srvr):$(site_main)/docs
rsync -av --delete client-python/pdoc/elastiknn/ $(site_srvr):$(site_main)/docs/pdoc

publish/site: .mk/jekyll-site-build
rsync -av --delete docs/_site/ $(site_srvr):$(site_main)
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.0-PRE13
0.1.0-PRE14

0 comments on commit 53f77ef

Please sign in to comment.