Skip to content

Commit

Permalink
Fix version
Browse files Browse the repository at this point in the history
  • Loading branch information
awiddersheim committed Apr 26, 2022
1 parent 34b88f9 commit d7f4d56
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Intall dependencies
run: pip install tox
Expand All @@ -86,11 +88,7 @@ jobs:

- name: Get version
id: get-version
run: |
# https://github.com/actions/checkout/issues/290
git fetch --tags --force
echo "::set-output name=version::$(python setup.py --version)"
run: echo "::set-output name=version::$(python setup.py --version)"

build-docker:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -260,4 +258,4 @@ jobs:
with:
tag_name: v${{ needs.build-dist.outputs.version}}
files: dist/*
prerelease: github.ref_type == 'branch'
prerelease: ${{ github.ref_type == 'branch' }}

0 comments on commit d7f4d56

Please sign in to comment.