Skip to content

Commit

Permalink
chore: disable pre-release
Browse files Browse the repository at this point in the history
  • Loading branch information
hanxiao committed May 18, 2021
1 parent 1daeab6 commit abf7f8a
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,22 +80,22 @@ jobs:
git config --local user.email "[email protected]"
git config --local user.name "Jina Dev Bot"
git add . && git commit -m "update ${{env.JINA_VERSION}} due to ${{github.event_name}} on ${{github.repository}}" && git push
- name: Pre-release
run: |
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
pip install twine wheel
./scripts/release.sh
env:
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
JINA_SLACK_WEBHOOK: ${{ secrets.JINA_SLACK_WEBHOOK }}
# Tell docs repo jina is going to release
- name: send-repository-dispatch-event-to-docs
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.JINA_DEV_BOT }}
repository: jina-ai/docs
event-type: jina-merge-event
# - name: Pre-release
# run: |
# git fetch --depth=1 origin +refs/tags/*:refs/tags/*
# pip install twine wheel
# ./scripts/release.sh
# env:
# TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
# TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
# JINA_SLACK_WEBHOOK: ${{ secrets.JINA_SLACK_WEBHOOK }}
# # Tell docs repo jina is going to release
# - name: send-repository-dispatch-event-to-docs
# uses: peter-evans/repository-dispatch@v1
# with:
# token: ${{ secrets.JINA_DEV_BOT }}
# repository: jina-ai/docs
# event-type: jina-merge-event

update-docker:
needs: update-doc
Expand Down

0 comments on commit abf7f8a

Please sign in to comment.