This commit is contained in:
MuneebAijaz
2024-08-05 13:58:29 +05:00
parent 2abd1164fc
commit 17b49794a2
2 changed files with 3 additions and 3 deletions

View File

@@ -58,8 +58,8 @@ jobs:
- name: Get Highest tag
id: highest_tag
run: |
highest_tag=$(git tag -l --sort -version:refname | head -n 1)
echo "tag=${highest_tag%%-*}" >> $GITHUB_OUTPUT
highest=$(git tag -l --sort -version:refname | head -n 1)
echo "tag=${highest%%-*}" >> $GITHUB_OUTPUT
# Get highest tag and remove any suffixes with '-'
- name: Print Highest tag