Skip to content

Commit 551a09e

Browse files
committed
Fix auto-release tag matcher.
1 parent 7308052 commit 551a09e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/auto-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222

2323
- name: Parse Versions
2424
run: |
25-
echo "LATEST_RELEASE_VERSION=$(git tag -l --sort=-refname | grep -E '^v?[0-9]$' -m 1)" >> $GITHUB_ENV
25+
echo "LATEST_RELEASE_VERSION=$(git tag -l --sort=-committerdate | grep -E '^v?[0-9]+$' -m 1)" >> $GITHUB_ENV
2626
echo "AMP_CORE_VERSION=$(jq -r '.AMPCore' /tmp/AMPVersions.json | sed -e 's/\.//g')" >> $GITHUB_ENV
2727
echo "AMP_INST_MGR_VERSION=$(jq -r '.InstanceManagerCLI' /tmp/AMPVersions.json | sed -e 's/\.//g')" >> $GITHUB_ENV
2828

0 commit comments

Comments
 (0)