From 41a8c84c2ffed0b124f8ed05ac392cc7720971a9 Mon Sep 17 00:00:00 2001 From: Aryog Date: Mon, 9 Dec 2024 20:20:23 +0545 Subject: [PATCH] version 1.2.5 ready --- .github/workflows/release.yml | 39 +++++++++++++++++++++++++++++++++++ public/manifest.json | 2 +- 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..50f10aa --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,39 @@ +name: Release Chrome Extension + +on: + push: + branches: + - main + +jobs: + build-and-release: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: '20' + cache: 'npm' + + - name: Install dependencies + run: npm ci + + - name: Build extension + run: npm run build + + - name: Create ZIP package + run: | + mkdir -p dist + zip -r dist/chrome-extension.zip ./build + + - name: Create GitHub Release + uses: softprops/action-gh-release@v2 + with: + files: dist/chrome-extension.zip + tag_name: v${{ github.sha }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/public/manifest.json b/public/manifest.json index 8bc3916..2e9a474 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 3, "name": "Porto - Import your Tweets to Bluesky", - "version": "1.2.4", + "version": "1.2.5", "description": "A chrome extension to import all your tweets to bluesky at a click of a button", "action": { "default_icon": "icon.png"