Compare commits

..

6 Commits

Author SHA1 Message Date
alexsparkes
4bcb7f735d chore: add submit-beta and update submit workflows for automated store deployment 2026-04-23 23:13:54 +01:00
dependabot[bot]
62689e5d10 chore(deps-dev): bump @eslint/js from 9.39.2 to 10.0.1 (#1145)
Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) from 9.39.2 to 10.0.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](https://github.com/eslint/eslint/commits/HEAD/packages/js)

---
updated-dependencies:
- dependency-name: "@eslint/js"
  dependency-version: 10.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: David Ralph <14052956+davidcralph@users.noreply.github.com>
2026-04-08 22:16:05 +01:00
dependabot[bot]
124d1be1a4 chore(deps): bump @floating-ui/react-dom from 2.1.6 to 2.1.8 (#1149)
Bumps [@floating-ui/react-dom](https://github.com/floating-ui/floating-ui/tree/HEAD/packages/react-dom) from 2.1.6 to 2.1.8.
- [Release notes](https://github.com/floating-ui/floating-ui/releases)
- [Changelog](https://github.com/floating-ui/floating-ui/blob/master/packages/react-dom/CHANGELOG.md)
- [Commits](https://github.com/floating-ui/floating-ui/commits/@floating-ui/react-dom@2.1.8/packages/react-dom)

---
updated-dependencies:
- dependency-name: "@floating-ui/react-dom"
  dependency-version: 2.1.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: David Ralph <14052956+davidcralph@users.noreply.github.com>
2026-04-08 22:13:41 +01:00
dependabot[bot]
8265459ff8 chore(deps-dev): bump adm-zip from 0.5.16 to 0.5.17 (#1159)
Bumps [adm-zip](https://github.com/cthackers/adm-zip) from 0.5.16 to 0.5.17.
- [Release notes](https://github.com/cthackers/adm-zip/releases)
- [Changelog](https://github.com/cthackers/adm-zip/blob/master/history.md)
- [Commits](https://github.com/cthackers/adm-zip/compare/v0.5.16...v0.5.17)

---
updated-dependencies:
- dependency-name: adm-zip
  dependency-version: 0.5.17
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-08 22:11:40 +01:00
dependabot[bot]
a44de6f15b chore(deps-dev): bump eslint from 9.39.4 to 10.2.0 (#1161)
Bumps [eslint](https://github.com/eslint/eslint) from 9.39.4 to 10.2.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](https://github.com/eslint/eslint/compare/v9.39.4...v10.2.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 10.2.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-08 22:09:05 +01:00
Alex Sparkes
0e6eb75f8d chore: automate version bumping on PR merge with branch-aware logic (#1140) 2026-01-27 15:23:44 +00:00
3 changed files with 104 additions and 17 deletions

57
.github/workflows/submit-beta.yml vendored Normal file
View File

@@ -0,0 +1,57 @@
name: Submit to Browser Stores (Beta)
on:
release:
types: [prereleased]
workflow_dispatch:
inputs:
tag:
description: "Pre-release tag to re-submit (e.g. v7.6.1-beta.3)"
required: true
permissions:
contents: read
jobs:
submit-beta:
runs-on: ubuntu-latest
environment: beta
steps:
- name: Resolve tag and version
id: tag
run: |
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
TAG="${{ github.event.inputs.tag }}"
else
TAG="${{ github.event.release.tag_name }}"
fi
echo "tag=$TAG" >> $GITHUB_OUTPUT
echo "version=${TAG#v}" >> $GITHUB_OUTPUT
- name: Download release ZIPs
run: |
mkdir -p dist
gh release download "${{ steps.tag.outputs.tag }}" \
--pattern "chrome-*.zip" \
--dir ./dist
env:
GH_TOKEN: ${{ github.token }}
- name: Verify ZIP
run: |
ls -la dist/
test -n "$(ls dist/chrome-*.zip 2>/dev/null)" || \
{ echo "chrome ZIP not found in dist/"; exit 1; }
- name: Submit to Chrome Web Store (Trusted Testers)
uses: PlasmoHQ/bpp@v3
with:
keys: ${{ secrets.SUBMIT_KEYS_BETA }}
chrome-zip: dist/chrome-${{ steps.tag.outputs.version }}.zip
- name: Summary
if: always()
run: |
echo "## Beta Store Submission: ${{ steps.tag.outputs.tag }}" >> $GITHUB_STEP_SUMMARY
echo "- Chrome Web Store (trustedTesters)" >> $GITHUB_STEP_SUMMARY

View File

@@ -1,27 +1,57 @@
name: Submit
name: Submit to Browser Stores
on:
release:
types: [released]
workflow_dispatch:
inputs:
tag:
description: "Release tag to submit, i.e 6.0.5"
description: "Release tag to re-submit (e.g. v7.6.1)"
required: true
permissions:
contents: read
jobs:
submit:
runs-on: ubuntu-latest
environment: production
steps:
- name: Setup Chrome
uses: browser-actions/setup-chrome@latest
with:
chrome-version: latest
- name: Download Github Release Assets
uses: PlasmoHQ/download-release-asset@v1.0.0
with:
tag: ${{ github.event.inputs.tag }}
- name: Browser Plugin Publish
uses: PlasmoHQ/bpp@v2
- name: Resolve tag and version
id: tag
run: |
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
TAG="${{ github.event.inputs.tag }}"
else
TAG="${{ github.event.release.tag_name }}"
fi
echo "tag=$TAG" >> $GITHUB_OUTPUT
echo "version=${TAG#v}" >> $GITHUB_OUTPUT
- name: Download release ZIPs
run: |
mkdir -p dist
gh release download "${{ steps.tag.outputs.tag }}" \
--pattern "chrome-*.zip" \
--dir ./dist
env:
PUPPETEER_EXECUTABLE_PATH: /opt/hostedtoolcache/chromium/latest/x64/chrome
GH_TOKEN: ${{ github.token }}
- name: Verify ZIP
run: |
ls -la dist/
test -f "dist/chrome-${{ steps.tag.outputs.version }}.zip" || \
{ echo "chrome ZIP not found"; exit 1; }
- name: Submit to Chrome Web Store
uses: PlasmoHQ/bpp@v3
with:
keys: ${{ secrets.SUBMIT_KEYS }}
chrome-zip: dist/chrome-${{ steps.tag.outputs.version }}.zip
- name: Summary
if: always()
run: |
echo "## Store Submission: ${{ steps.tag.outputs.tag }}" >> $GITHUB_STEP_SUMMARY
echo "- Chrome Web Store (listed)" >> $GITHUB_STEP_SUMMARY

View File

@@ -21,7 +21,7 @@
"@dnd-kit/sortable": "^10.0.0",
"@dnd-kit/utilities": "^3.2.2",
"@eartharoid/i18n": "1.2.1",
"@floating-ui/react-dom": "2.1.6",
"@floating-ui/react-dom": "2.1.8",
"@fontsource/inter": "^5.2.8",
"@fontsource/lexend-deca": "5.0.14",
"@fontsource/montserrat": "5.0.19",
@@ -42,10 +42,10 @@
"@commitlint/cli": "^20.3.1",
"@commitlint/config-conventional": "^20.3.1",
"@eartharoid/deep-merge": "^0.0.2",
"@eslint/js": "^9.39.2",
"@eslint/js": "^10.0.1",
"@vitejs/plugin-react-swc": "^4.2.2",
"adm-zip": "0.5.16",
"eslint": "^9.39.2",
"adm-zip": "0.5.17",
"eslint": "^10.2.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.5",