Skip to content

Commit

Permalink
upgrading to special brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeByDrescher committed Sep 22, 2024
1 parent 117dff9 commit 9a15d58
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,17 +89,17 @@ jobs:
oldBioSimVersion=${{ steps.latest_release_info.outputs.tag_name }}
echo "oldBioSimVersion=$oldBioSimVersion"
if [ "$oldBioSimVersion" < "$bioSimVersion" ] && [ -z "$taggedVersion" ]; then
if [[ $oldBioSimVersion < $bioSimVersion ]] && [[ -z "$taggedVersion" ]]; 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 "$taggedVersion" ]; then
if [[ -z "$taggedVersion" ]]; then
echo "This is not a tagged action; push a new tag to release."
fi
fi
Expand Down

0 comments on commit 9a15d58

Please sign in to comment.