Skip to content
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.

Commit

Permalink
fix: remove prefix v from version
Browse files Browse the repository at this point in the history
  • Loading branch information
harshilgajera-crest authored Sep 8, 2021
1 parent 0481a0c commit 889703a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ else
if [[ $GITHUB_EVENT_NAME != 'pull_request' ]];
then
echo this is not a release build and NOT PR RUNID + run ID
VERSION=v0.0.${GITHUB_RUN_ID}
VERSION=0.0.${GITHUB_RUN_ID}
else
echo this is not a release build and is a PR use run ID
VERSION=v0.${INPUT_PRNUMBER}.${GITHUB_RUN_ID}
VERSION=0.${INPUT_PRNUMBER}.${GITHUB_RUN_ID}
fi
fi
FINALVERSION=$(echo $VERSION | sed 's/v?\(.*\)/\1/')
Expand Down

0 comments on commit 889703a

Please sign in to comment.