We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75007ae commit c3e7128Copy full SHA for c3e7128
.github/workflows/publish-to-cws-on-chromium-bump.yml
@@ -20,7 +20,7 @@ jobs:
20
run: |
21
CURRENT_VER=$(cat chromium/extension/manifest.json | grep '"version"' | sed -E 's/.*"version": "(.*)".*/\1/')
22
PREV_VER=$(git show HEAD^:chromium/extension/manifest.json | grep '"version"' | sed -E 's/.*"version": "(.*)".*/\1/')
23
- if [ "$(printf '%s\n' "$PREV_VER" "$CURRENT_VER" | sort -V | head -n 1)" != "$CURRENT_VER" ] ; then
+ if [ "$CURRENT_VER" != "$PREV_VER" ] ; then
24
echo "Extension updated from $PREV_VER to $CURRENT_VER"
25
echo "VERSION_CHANGED=true" >> $GITHUB_ENV
26
else echo "VERSION_CHANGED=false" >> $GITHUB_ENV ; fi
0 commit comments