diff --git a/.github/workflows/force-release.yml b/.github/workflows/force-release.yml new file mode 100644 index 0000000000000..533d7eb11e07f --- /dev/null +++ b/.github/workflows/force-release.yml @@ -0,0 +1,35 @@ +name: Release Cycle + +on: + push: + branches: + - master + +jobs: + regular-release: + if: "startsWith(github.event.head_commit.message, 'build') && github.actor == github.event.repository.owner.login" + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + token: ${{ secrets.JINA_DEV_BOT }} + fetch-depth: 100 # means max contribute history is limited to 100 lines + - uses: actions/setup-python@v1 + with: + python-version: 3.7 + # https://github.com/actions/checkout#fetch-all-tags + - run: | + git fetch --depth=1 origin +refs/tags/*:refs/tags/* + npm install git-release-notes + pip install twine wheel + - run: ./release.sh + env: + TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }} + TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} + - if: failure() + run: echo "nothing to release" + - name: bumping master version + uses: ad-m/github-push-action@master + with: + github_token: ${{ secrets.JINA_DEV_BOT }} + tags: true \ No newline at end of file diff --git a/docs/chapters/101/.sphinx.md b/docs/chapters/101/.sphinx.md index c04929bb8064d..4d37f13506ec9 100644 --- a/docs/chapters/101/.sphinx.md +++ b/docs/chapters/101/.sphinx.md @@ -1,16 +1,6 @@ # Jina 101: First Thing to Learn About Jina -[pdf btn] [retweet btn] [goto github btn] [read the doc btn] [website btn] [hello-world btn] - - - English • - 日本語 • - français • - Русский язык • - 中文 - - -



+> Checkout [our Github for multi-lingual version of this 101 Guide](https://github.com/jina-ai/jina/blob/master/docs/chapters/101/README.md). ## Document & Chunk @@ -171,7 +161,7 @@ You can design at the micro-level and scale that up to the macro-level. YAMLs be ✨Unleash your curiosity and happy searching! 🔍

-

- [pdf btn] [retweet btn] [goto github btn] [read the doc btn] [website btn] [hello-world btn] -

+ +> Checkout [our Github for multi-lingual version of this 101 Guide](https://github.com/jina-ai/jina/blob/master/docs/chapters/101/README.md). +