Skip to content

Commit

Permalink
fixes CD workflow (#472)
Browse files Browse the repository at this point in the history
* Update ci.yaml

* ci

* Update ci.yaml

---------

Co-authored-by: Ido M <michael.ido@gmail.com>
  • Loading branch information
edublancas and idomic authored May 3, 2023
1 parent ad625e3 commit 947af61
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
branches:
- master
- 'dev/**'
tags:
- '[0-9]+.[0-9]+.[0-9]+'
pull_request:

jobs:
Expand Down Expand Up @@ -116,11 +118,11 @@ jobs:
run: |
python -m pip install pkgmt twine wheel --upgrade
- name: Upload
- name: Release
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
TAG: ${{ github.ref_name }}
run: |
echo "tag is $TAG"
pkgmt release $TAG --production --yes
pkgmt release $TAG --production --yes

0 comments on commit 947af61

Please sign in to comment.