Skip to content

Commit 34a6b04

Browse files
authored
Merge pull request #28 from nipype/new-pydra-syntax
fixed up sorting of version tags
2 parents fdf3bd7 + e70e297 commit 34a6b04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci-cd.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ jobs:
319319
id: latest_tag
320320
run: |
321321
git fetch --tags
322-
echo "TAG=$(git tag -l | grep 'v.*' | tail -n 1 | awk -F post '{print $1}')" >> $GITHUB_OUTPUT
322+
echo "TAG=$(git tag -l | grep 'v.*' | sort -V | tail -n 1 | awk -F post '{print $1}')" >> $GITHUB_OUTPUT
323323
- name: Overwrite the tag of release event with latest commit (i.e. including the auto directory)
324324
if: github.event_name == 'release'
325325
run: |

0 commit comments

Comments
 (0)