Skip to content

Commit

Permalink
Properly get only the first tag
Browse files Browse the repository at this point in the history
  • Loading branch information
VariantXYZ committed Aug 20, 2023
1 parent 8894e1b commit 4ca580e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/nightly_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
run: |
git fetch --tags --all
echo "TAG_NAME=`git rev-parse --abbrev-ref HEAD`" >> $GITHUB_ENV
echo "LATEST_TAG_NAME=`git tag --list --sort=version:refname \"\`git name-rev --name-only HEAD\`+nightly.*\"`" >> $GITHUB_ENV
echo "LATEST_TAG_NAME=`git tag --list --sort=-authordate \"\`git name-rev --name-only HEAD\`+nightly.*\" | head -n 1`" >> $GITHUB_ENV
- name: Get latest text from source
working-directory: 'medarot3'
Expand Down

0 comments on commit 4ca580e

Please sign in to comment.