Skip to content

Commit

Permalink
Fix comparing any string error
Browse files Browse the repository at this point in the history
  • Loading branch information
xumia committed Apr 7, 2022
1 parent c715d22 commit a50f280
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .azure-pipelines/check-dirty-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ steps:
. functions.sh
SONIC_VERSION=$(sonic_get_version)
echo "SONIC_VERSION=$SONIC_VERSION"
if [ "$SONIC_VERSION" == *dirty* ]; then
if [[ "$SONIC_VERSION" == *dirty* ]]; then
# Print the detail dirty info
git status --untracked-files=no -s --ignore-submodules
Expand Down

0 comments on commit a50f280

Please sign in to comment.