Skip to content

Commit

Permalink
Added quotation marks
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeByDrescher committed Sep 22, 2024
1 parent fd000f8 commit e00fd9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,14 @@ jobs:
oldBioSimVersion=${{ steps.latest_release_info.outputs.tag_name }}
echo "oldBioSimVersion=$oldBioSimVersion"
if [ $oldBioSimVersion < $bioSimVersion ] && [ -z ${{ steps.get-tagged-version.outputs.version }} ]; then
if [ "$oldBioSimVersion" < "$bioSimVersion" ] && [ -z ${{ steps.get-tagged-version.outputs.version }} ]; then
echo "needDeploy=true" >> "$GITHUB_OUTPUT"
echo "Deploy will be performed!"
else
echo "needDeploy=false" >> "$GITHUB_OUTPUT"
echo "Deploy will NOT be performed:"
# Get an idea of why we will not deploy
if [ $oldBioSimVersion < $bioSimVersion ]; then
if [ "$oldBioSimVersion" < "$bioSimVersion" ]; then
echo "Version is not newer than existing version"
fi
if [ -z ${{ steps.get-tagged-version.outputs.version }} ]; then
Expand Down

0 comments on commit e00fd9d

Please sign in to comment.