We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7308052 commit 551a09eCopy full SHA for 551a09e
.github/workflows/auto-release.yml
@@ -22,7 +22,7 @@ jobs:
22
23
- name: Parse Versions
24
run: |
25
- echo "LATEST_RELEASE_VERSION=$(git tag -l --sort=-refname | grep -E '^v?[0-9]$' -m 1)" >> $GITHUB_ENV
+ echo "LATEST_RELEASE_VERSION=$(git tag -l --sort=-committerdate | grep -E '^v?[0-9]+$' -m 1)" >> $GITHUB_ENV
26
echo "AMP_CORE_VERSION=$(jq -r '.AMPCore' /tmp/AMPVersions.json | sed -e 's/\.//g')" >> $GITHUB_ENV
27
echo "AMP_INST_MGR_VERSION=$(jq -r '.InstanceManagerCLI' /tmp/AMPVersions.json | sed -e 's/\.//g')" >> $GITHUB_ENV
28
0 commit comments