Skip to content

Commit

Permalink
Uppercased env.VERSION_CHANGED
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlui committed Oct 16, 2024
1 parent 9aa1283 commit 663f806
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish-to-cws-on-chromium-bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,17 @@ jobs:
PREV_VER=$(git show HEAD^:chromium/extension/manifest.json | grep '"version"' | sed -E 's/.*"version": "(.*)".*/\1/')
if [ "$(printf '%s\n' "$PREV_VER" "$CURRENT_VER" | sort -V | head -n 1)" != "$CURRENT_VER" ] ; then
echo "Extension updated from $PREV_VER to $CURRENT_VER"
echo "version_changed=true" >> $GITHUB_ENV
else echo "version_changed=false" >> $GITHUB_ENV ; fi
echo "VERSION_CHANGED=true" >> $GITHUB_ENV
else echo "VERSION_CHANGED=false" >> $GITHUB_ENV ; fi
- name: Create zipball
if: env.version_changed == 'true'
if: env.VERSION_CHANGED == 'true'
run: |
cd ${{ github.workspace }}/adamlui/perplexity-omnibox/chromium/extension
zip -r ../../extension.zip .
- name: Publish to CWS
if: env.version_changed == 'true'
if: env.VERSION_CHANGED == 'true'
uses: trmcnvn/chrome-addon@v2
with:
extension: ckhgddjdjkphbaediggjdddjdjgkalom
Expand Down

0 comments on commit 663f806

Please sign in to comment.