Skip to content

Commit

Permalink
chore: 👷 Update github action to generate Beta version for Chrome Ext…
Browse files Browse the repository at this point in the history
…ension
  • Loading branch information
redDwarf03 committed Jan 7, 2025
1 parent b1c9e14 commit 14c8676
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/build-chrome-ext.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,21 @@ jobs:
- name: Install Flutter dependencies
run: flutter pub get

- name: Check if Beta Version
id: check_beta
run: |
if [[ "${{ github.event.release.tag_name }}" == *"beta"* ]]; then
echo "is_beta=true" >> $GITHUB_OUTPUT
else
echo "is_beta=false" >> $GITHUB_OUTPUT
fi
- name: Modify Manifest for Beta
if: steps.check_beta.outputs.is_beta == 'true'
run: |
jq '.name += " (Beta)"' manifest.json > manifest_tmp.json
mv manifest_tmp.json manifest.json
- name: Build Chrome Extension
run: bash ./scripts/build_chrome_extension.sh

Expand Down

0 comments on commit 14c8676

Please sign in to comment.