From 53f77eff7e3fd7ba749786ec07aa1a138d6666dd Mon Sep 17 00:00:00 2001 From: Alex Klibisz Date: Thu, 9 Apr 2020 20:19:54 -0400 Subject: [PATCH] Bump to PRE14 and publish docs to main site --- .github/workflows/release.yml | 18 ++++++++++++------ Makefile | 6 +++++- version | 2 +- 3 files changed, 18 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6c5f61013..a634f10a2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 \ No newline at end of file diff --git a/Makefile b/Makefile index 409f0e9e0..6196e1497 100644 --- a/Makefile +++ b/Makefile @@ -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) diff --git a/version b/version index 83ec0f053..bb4e5497c 100644 --- a/version +++ b/version @@ -1 +1 @@ -0.1.0-PRE13 +0.1.0-PRE14