Skip to content

Beta Release

Beta Release #52

Workflow file for this run

name: Beta Release
on:
workflow_dispatch:
jobs:
chrome_mv3_beta:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
- name: Install dependencies
run: |
npm run install-ci
- name: Fetch config and update version
run: |
npm run bundle-config
node scripts/bumpVersion.js $(date "+%Y.%m.%d")
echo "VERSION=$(jq -r .version ./browsers/chrome-mv3/manifest.json)" >> $GITHUB_ENV
- name: Commit config and version updates
uses: stefanzweifel/git-auto-commit-action@3ea6ae190baf489ba007f7c92608f33ce20ef04a
with:
commit_message: "Prepare release ${{ env.VERSION }}"
create_branch: true
branch: "release/beta/${{ env.VERSION }}"
- name: Build Chrome MV3 Beta
run: |
npm run beta-chrome-mv3
- name: Publish to Chrome Store
env:
CWS_CLIENT_ID: ${{ secrets.CWS_CLIENT_ID }}
CWS_CLIENT_SECRET: ${{ secrets.CWS_CLIENT_SECRET }}
CWS_REFRESH_TOKEN: ${{ secrets.CWS_REFRESH_TOKEN }}
run: |
bash ./scripts/chrome-store-publish.sh ${{ secrets.CWS_BETA_EXTENSION_ID }} ./build/chrome-mv3/release/chrome-mv3-release-*.zip