Skip to content

Commit

Permalink
chore: released
Browse files Browse the repository at this point in the history
  • Loading branch information
eshepelyuk authored Jun 20, 2024
1 parent f4f1379 commit d552ceb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ git config --global user.email "${GIT_USER_EMAIL}"
cog --version

LATEST_VERSION=$(cog get-version 2>/dev/null || echo '')
echo $LATEST_VERSION
echo "LATEST=${LATEST_VERSION}"

if [ "${CHECK}" = "true" ]; then
if [ "${LATEST_TAG_ONLY}" = "true" ]; then
if [ "$(git describe --tags --abbrev=0)" ]; then
message="Checking commits from $(git describe --tags --abbrev=0)"
if [ -n "${LATEST_VERSION}" ]; then
message="Checking commits from ${LATEST_VERSION}"
else
message="No tag found checking history from first commit"
fi
Expand Down

0 comments on commit d552ceb

Please sign in to comment.