Skip to content

Commit

Permalink
Merge pull request #825 from vespa-engine/thomasht86/fix-release-pipe…
Browse files Browse the repository at this point in the history
…line

Thomasht86/fix release pipeline
  • Loading branch information
thomasht86 authored Jul 4, 2024
2 parents fdc8016 + 2ee8992 commit d7ee543
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/pyvespa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
workflow_dispatch:
release:
types: [published]

jobs:
update_version:
runs-on: ubuntu-latest
Expand All @@ -21,9 +22,9 @@ jobs:
- name: Set version from ref tag that triggered the workflow (strip prefix 'v' from tag)
id: set_version
run: |
echo "tag=${{ github.ref_name }}"
echo "GITHUB_REF=$GITHUB_REF"
# strip prefix 'v' from version variable
version=${tag#v}
version=${GITHUB_REF#refs/tags/v}
echo "version=$version" >> $GITHUB_OUTPUT
- name: Update version
Expand Down

0 comments on commit d7ee543

Please sign in to comment.