Skip to content

Commit

Permalink
Merge branch 'production' of https://github.com/arconnectio/ArConnect
Browse files Browse the repository at this point in the history
…into staging
  • Loading branch information
nicholaswma committed May 23, 2024
2 parents 9655e15 + 2a3c273 commit 3d20972
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 1 deletion.
42 changes: 42 additions & 0 deletions .github/workflows/submit-beta.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: "BETA Submit to Web Store"
on:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version: "20.x"
cache: "yarn"
- name: Cache yarn modules
uses: actions/cache@v3
with:
path: "**/node_modules"
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn install
- name: Create .env file
run: echo "PLASMO_PUBLIC_TRANSAK_API_KEY=${{ secrets.TRANSAK_API_KEY }}" >> .env

- name: Modify package.json and icons for BETA
if: github.ref == 'refs/heads/staging'
run: |
jq '.displayName = "ArConnect BETA"' package.json > temp.json && \
mv temp.json package.json && \
jq --arg version "${{ secrets.VERSION }}" '.version = $version' package.json > temp.json && \
mv temp.json package.json && \
cp -rf assets-beta/* assets/
- name: Build and Package the extension into a zip artifact
run: yarn build:chrome --zip
- name: Browser Platform Publish
uses: PlasmoHQ/bpp@v3
with:
keys: ${{ github.ref == 'refs/heads/production' && secrets.SUBMIT_KEYS_PRODUCTION || secrets.SUBMIT_KEYS_STAGING }}
artifact: build/chrome-mv3-prod.zip
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "arconnect",
"displayName": "ArConnect",
"version": "1.11.1",
"version": "1.11.0",
"description": "__MSG_extensionDescription__",
"author": "th8ta",
"packageManager": "[email protected]",
Expand Down

0 comments on commit 3d20972

Please sign in to comment.