Skip to content

Commit

Permalink
Update version.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
aldochaconc authored Jan 28, 2024
1 parent 4a63233 commit 6f2d8c0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ jobs:
- name: Check the latest version
run: |
all_tags=$(git tag | sort -rV)
echo ${all_tags}
read -ra all_tags_vector <<< "$all_tags"
latest_tag_version="${all_tags_vector[0]#v}"
echo ${latest_tag_version}
shell_script_version=$(grep -i -E '^# version\s*=\s*"[0-9]+\.[0-9]+\.[0-9]+"' archcrystal.sh | \
grep -o -E '[0-9]+\.[0-9]+\.[0-9]+')
echo "SHELL_SCRIPT_VERSION=${shell_script_version}" >> $GITHUB_ENV
Expand Down

0 comments on commit 6f2d8c0

Please sign in to comment.