Skip to content

Commit

Permalink
retrieve release version from branch name (#1375)
Browse files Browse the repository at this point in the history
  • Loading branch information
bossenti committed Mar 8, 2023
1 parent cf02ed6 commit de18901
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/pypi-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ name: Deploy Python Package to PyPI & update docs

on:
workflow_dispatch:
inputs:
sp-version:
description: 'StreamPipes version to be released'
required: true
type: string

permissions:
contents: read
Expand Down Expand Up @@ -59,7 +54,7 @@ jobs:
- name: Publish new doc version and update alias
working-directory: ./streampipes-client-python
run: |
mike deploy ${{ inputs.sp-version }} latest -u --deploy-prefix ./streampipes-client-python/docs-tmp -b real/${{ inputs.sp-version }}
mike deploy ${GITHUB_REF##*/} latest -u --deploy-prefix ./streampipes-client-python/docs-tmp -b ${GITHUB_REF}
git reset --hard # undo local changes that delete generated doc files
- name: Publish Python docs as artifact
Expand Down

0 comments on commit de18901

Please sign in to comment.