We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2fc191 commit e3e8c97Copy full SHA for e3e8c97
.github/workflows/publish.yml
@@ -20,6 +20,17 @@ jobs:
20
runs-on: ubuntu-latest
21
outputs:
22
highest_semver_tag: ${{ steps.strip_prefix.outputs.highest_semver_tag }}
23
+ steps:
24
+ - name: Strip 'v' Prefix for Highest SemVer Tag
25
+ id: strip_prefix
26
+ run: |
27
+ if [[ -z "${{ github.event.inputs.custom_version }}" ]]; then
28
+ echo "Error: custom_version input is required."
29
+ exit 1
30
+ fi
31
+ HIGHEST_SEMVER_TAG="${{ github.event.inputs.custom_version#v }}"
32
+ echo "::set-output name=highest_semver_tag::$HIGHEST_SEMVER_TAG"
33
+ echo "Highest SemVer Tag: $HIGHEST_SEMVER_TAG"
34
get-version:
35
if: github.repository == 'feast-dev/feast'
36
0 commit comments