Skip to content

Commit

Permalink
Added version var to parse ref_branch
Browse files Browse the repository at this point in the history
  • Loading branch information
stanbrub authored Jun 12, 2024
1 parent 72509a0 commit 336fa74
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/docs-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ jobs:
steps:
- name: Make Symlinks
run: |
git tag -a -m "[Temp Tag] ${{ github.ref_name }}" ${{ github.ref_name }} release/${{ github.ref_name }}
VERSION=$(basename ${{ github.ref_name }})
git tag -a -m "[Temp Tag] ${VERSION}" ${VERSION} release/${VERSION}
LATEST=$(git tag --sort="version:refname" | grep -E "^v([0-9]+[.]?){3}$" | tail -1)
mkdir -p tmp-deephaven-core-v2/symlinks
cd tmp-deephaven-core-v2/symlinks
Expand Down

0 comments on commit 336fa74

Please sign in to comment.