Skip to content

Commit

Permalink
[chore] Fix Improper tags for Meshery Docker Extension #6396
Browse files Browse the repository at this point in the history
Signed-off-by: Aditi Goyal <102579070+aditi5050@users.noreply.github.com>
  • Loading branch information
aditi5050 authored Oct 19, 2022
1 parent c4b58fa commit 895a69b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,9 @@ jobs:
else
echo RELEASE_CHANNEL=edge >> $GITHUB_ENV
fi
LATEST_VERSION=$(git ls-remote --tags | tail -1 | cut -f2 | sed 's/refs\/tags\///g') >> $GITHUB_ENV
GIT_VERSION=$(git ls-remote --tags | tail -1 | cut -f2 | sed 's/refs\/tags\///g') >> $GITHUB_ENV
# GIT_VERSION=$(git describe --tags `git rev-list --tags --max-count=1` --always)
GIT_STRIPPED_VERSION=$(git ls-remote --tags | tail -1 | cut -f2 | sed 's/refs\/tags\///g' | cut -c2-)
LATEST_VERSION=$(git ls-remote --sort='v:refname' --tags | tail -1 | cut -f2 | sed 's/refs\/tags\///g') >> $GITHUB_ENV
GIT_VERSION=$(git ls-remote --sort='v:refname' --tags | tail -1 | cut -f2 | sed 's/refs\/tags\///g') >> $GITHUB_ENV
GIT_STRIPPED_VERSION=$(git ls-remote --sort='v:refname' --tags | tail -1 | cut -f2 | sed 's/refs\/tags\///g' | cut -c2-)
echo "Release channel determined to be $RELEASE_CHANNEL"
echo "GIT_LATEST=$LATEST_VERSION" >> $GITHUB_ENV
echo "GIT_VERSION=$GIT_VERSION" >> $GITHUB_ENV
Expand Down

0 comments on commit 895a69b

Please sign in to comment.