Skip to content
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.

Merge pull request #140 from jina-ai/fix-workspace #216

Merge pull request #140 from jina-ai/fix-workspace

Merge pull request #140 from jina-ai/fix-workspace #216

Workflow file for this run

name: CD
on:
push:
branches:
- main
jobs:
prerelease:
if: |
!startsWith(github.event.head_commit.message, 'chore') &&
!startsWith(github.event.head_commit.message, 'build: hotfix') &&
!endsWith(github.event.head_commit.message, 'reformatted by jina-dev-bot')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 100
- name: Pre-release (.devN)
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 }}