Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Solxanich committed Nov 1, 2024
1 parent 5c98c60 commit 55fed4b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,6 @@ jobs:
run: |
echo "Attempting get previous version id"
version=$(git describe --tags --abbrev=0)
if [ ${{github.ref}} = 'refs/heads/${{env.StableBranch}}' ] ; then
version=$(git describe --tags --abbrev=0 --exclude v????.??.2*)
fi
if [ ${{github.ref}} = 'refs/heads/${{env.PreviewBranch}}' ] ; then
version=$(git describe --tags --abbrev=0 --exclude v????.??.1*)
fi
echo "Previous Version is: $version"
regex="^v([0-9]+).([0-9]+).([0-9]+).([0-9]+)?$"
Expand Down

0 comments on commit 55fed4b

Please sign in to comment.