ci: publish workflow test for v0.1.1

This commit is contained in:
2025-11-09 23:11:15 +05:30
parent cea4fcefae
commit 8f20617d16
7 changed files with 61 additions and 18 deletions

40
.github/workflows/publish.yml vendored Normal file
View File

@@ -0,0 +1,40 @@
on:
push:
tags:
- 'v*.*.*'
name: 🚀 Publish to Stores
jobs:
submit:
runs-on: ubuntu-latest
steps:
- name: 🚚 Checkout repository
uses: actions/checkout@v5
- name: 📦 Setup node
uses: actions/setup-node@v6
with:
node-version: 'lts/*'
cache: 'npm'
- name: 🛠️ Install dependencies
run: npm install
- name: 🤐 Zip extensions
run: |
npm run zip
npm run zip:firefox
- name: 🚀 Submit to stores
run: |
npm run submit -- --dry-run \
--chrome-zip .output/*-chrome.zip \
--firefox-zip .output/*-firefox.zip --firefox-sources-zip .output/*-sources.zip
env:
CHROME_EXTENSION_ID: ${{ secrets.CHROME_EXTENSION_ID }}
CHROME_CLIENT_ID: ${{ secrets.CHROME_CLIENT_ID }}
CHROME_CLIENT_SECRET: ${{ secrets.CHROME_CLIENT_SECRET }}
CHROME_REFRESH_TOKEN: ${{ secrets.CHROME_REFRESH_TOKEN }}
FIREFOX_EXTENSION_ID: ${{ secrets.FIREFOX_EXTENSION_ID }}
FIREFOX_JWT_ISSUER: ${{ secrets.FIREFOX_JWT_ISSUER }}
FIREFOX_JWT_SECRET: ${{ secrets.FIREFOX_JWT_SECRET }}

View File

@@ -9,10 +9,10 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: 🚚 Checkout repository - name: 🚚 Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v5
- name: 📦 Setup node - name: 📦 Setup node
uses: actions/setup-node@v4 uses: actions/setup-node@v6
with: with:
node-version: 'lts/*' node-version: 'lts/*'
cache: 'npm' cache: 'npm'
@@ -82,6 +82,5 @@ jobs:
.output/${{github.event.repository.name}}-${{env.version}}-firefox.zip .output/${{github.event.repository.name}}-${{env.version}}-firefox.zip
.output/${{github.event.repository.name}}-${{env.version}}-sources.zip .output/${{github.event.repository.name}}-${{env.version}}-sources.zip
latest.json latest.json
draft: false draft: true
prerelease: false prerelease: false
make_latest: true

View File

@@ -1,6 +1,8 @@
### ✨ Changelog ### ✨ Changelog
- initial MVP release v0.1.0 - Added keyboard shortcut indication
- Quick download is now renamed to quick search
- Other minor fixes and improvements
### ⬇️ Download Section ### ⬇️ Download Section

View File

@@ -6,15 +6,16 @@ NeoDLP (Neo Downloader Plus) Browser Integration
[![github tag](https://img.shields.io/github/v/tag/neosubhamoy/neodlp-extension?color=yellow)](https://github.com/neosubhamoy/neodlp-extension) [![github tag](https://img.shields.io/github/v/tag/neosubhamoy/neodlp-extension?color=yellow)](https://github.com/neosubhamoy/neodlp-extension)
[![PRs](https://img.shields.io/badge/PRs-welcome-blue.svg?style=flat)](https://github.com/neosubhamoy/neodlp-extension) [![PRs](https://img.shields.io/badge/PRs-welcome-blue.svg?style=flat)](https://github.com/neosubhamoy/neodlp-extension)
>[!TIP]
> **🥰 Liked this project? Please consider giving it a Star (🌟) on github to show us your appreciation and help the algorythm recommend this project to even more awesome people like you!** > **🥰 Liked this project? Please consider giving it a Star (🌟) on github to show us your appreciation and help the algorythm recommend this project to even more awesome people like you!**
### 📎 Pre-Requirements ## 📎 Pre-Requirements
- [NeoDLP](https://github.com/neosubhamoy/neodlp) (Installed and Running) - [NeoDLP](https://github.com/neosubhamoy/neodlp) (Installed and Running)
### ⬇️ Download and Installation ## ⬇️ Download and Installation
#### Direct Installation from Official Web Store Listing ### Direct Installation from Official Store Listing
[link-chrome]: https://chromewebstore.google.com/detail/neo-downloader-plus/mehopeailfjmiloiiohgicphlcgpompf "Version published on Chrome Web Store" [link-chrome]: https://chromewebstore.google.com/detail/neo-downloader-plus/mehopeailfjmiloiiohgicphlcgpompf "Version published on Chrome Web Store"
[link-firefox]: https://addons.mozilla.org/en-US/firefox/addon/neo-downloader-plus "Version published on Mozilla Add-ons" [link-firefox]: https://addons.mozilla.org/en-US/firefox/addon/neo-downloader-plus "Version published on Mozilla Add-ons"
@@ -23,7 +24,7 @@ NeoDLP (Neo Downloader Plus) Browser Integration
[<img src="https://raw.githubusercontent.com/alrra/browser-logos/90fdf03c/src/firefox/firefox.svg" width="48" alt="Firefox" valign="middle">][link-firefox] [<img valign="middle" src="https://img.shields.io/amo/v/neo-downloader-plus.svg?label=%20">][link-firefox] [<img src="https://raw.githubusercontent.com/alrra/browser-logos/90fdf03c/src/firefox/firefox.svg" width="48" alt="Firefox" valign="middle">][link-firefox] [<img valign="middle" src="https://img.shields.io/amo/v/neo-downloader-plus.svg?label=%20">][link-firefox]
#### Manual Installation (in Google Chrome / Chromium based browsers) ### Manual Installation (in Google Chrome / Chromium based browsers)
1. Download the `neodlp-extension-<version>-chrome.zip` file from the [latest release](https://github.com/neosubhamoy/neodlp-extension/releases). 1. Download the `neodlp-extension-<version>-chrome.zip` file from the [latest release](https://github.com/neosubhamoy/neodlp-extension/releases).
2. Extract the `.zip` file (using any zip extractor software. eg: 7zip, WinRAR etc.). 2. Extract the `.zip` file (using any zip extractor software. eg: 7zip, WinRAR etc.).
@@ -31,21 +32,21 @@ NeoDLP (Neo Downloader Plus) Browser Integration
4. Enable "Developer mode" in the top right corner. 4. Enable "Developer mode" in the top right corner.
5. Click on "Load unpacked" and select the newly extracted folder. Done! That's it...!! 5. Click on "Load unpacked" and select the newly extracted folder. Done! That's it...!!
#### Manual Installation (in Mozilla Firefox) ### Manual Installation (in Mozilla Firefox)
1. Download the `neodlp-extension-<version>-firefox.zip` file from the [latest release](https://github.com/neosubhamoy/neodlp-extension/releases). 1. Download the `neodlp-extension-<version>-firefox.zip` file from the [latest release](https://github.com/neosubhamoy/neodlp-extension/releases).
2. Open Firefox and navigate to `about:addons`. 2. Open Firefox and navigate to `about:addons`.
3. Click on the gear icon (top right) and select "Install Add-on From File...". 3. Click on the gear icon (top right) and select "Install Add-on From File...".
4. Select the downloaded `.zip` file. Done! That's it...!! 4. Select the downloaded `.zip` file. Done! That's it...!!
### ⚡ Technologies Used ## ⚡ Technologies Used
![WXT](https://img.shields.io/badge/WXT-67D55E.svg?style=for-the-badge&logo=WXT&logoColor=white) ![WXT](https://img.shields.io/badge/WXT-67D55E.svg?style=for-the-badge&logo=WXT&logoColor=white)
![React](https://img.shields.io/badge/React-61DAFB.svg?style=for-the-badge&logo=React&logoColor=black) ![React](https://img.shields.io/badge/React-61DAFB.svg?style=for-the-badge&logo=React&logoColor=black)
![TypeScript](https://img.shields.io/badge/TypeScript-3178C6.svg?style=for-the-badge&logo=TypeScript&logoColor=white) ![TypeScript](https://img.shields.io/badge/TypeScript-3178C6.svg?style=for-the-badge&logo=TypeScript&logoColor=white)
![ShadCnUi](https://img.shields.io/badge/shadcn/ui-000000.svg?style=for-the-badge&logo=shadcn/ui&logoColor=white) ![ShadCnUi](https://img.shields.io/badge/shadcn/ui-000000.svg?style=for-the-badge&logo=shadcn/ui&logoColor=white)
### 🛠️ Contributing / Building from Source ## 🛠️ Contributing / Building from Source
Want to be part of this? Feel free to contribute...!! Pull Requests are always welcome...!! (^_^) Follow these simple steps to start building: Want to be part of this? Feel free to contribute...!! Pull Requests are always welcome...!! (^_^) Follow these simple steps to start building:
@@ -66,6 +67,6 @@ npm run zip:firefox # for production zip creation (firefox)
**⭕ Noticed any Bugs or Want to give us some suggetions? Always feel free to open a GitHub Issue. We would love to hear from you...!!** **⭕ Noticed any Bugs or Want to give us some suggetions? Always feel free to open a GitHub Issue. We would love to hear from you...!!**
### 📝 License ## 📝 License
NeoDLP Extension is Licensed under the [MIT license](https://github.com/neosubhamoy/neodlp-extension/blob/main/LICENSE). Anyone can view, modify, use (personal and commercial) or distribute it's sources without any attribution and extra permissions. NeoDLP Extension is Licensed under the [MIT license](https://github.com/neosubhamoy/neodlp-extension/blob/main/LICENSE). Anyone can view, modify, use (personal and commercial) or distribute it's sources without any attribution and extra permissions.

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "neodlp-extension", "name": "neodlp-extension",
"version": "0.1.0", "version": "0.1.1",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "neodlp-extension", "name": "neodlp-extension",
"version": "0.1.0", "version": "0.1.1",
"hasInstallScript": true, "hasInstallScript": true,
"dependencies": { "dependencies": {
"@hookform/resolvers": "^5.2.2", "@hookform/resolvers": "^5.2.2",

View File

@@ -2,7 +2,7 @@
"name": "neodlp-extension", "name": "neodlp-extension",
"description": "NeoDLP Browser Integration", "description": "NeoDLP Browser Integration",
"private": true, "private": true,
"version": "0.1.0", "version": "0.1.1",
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "wxt", "dev": "wxt",
@@ -12,7 +12,8 @@
"zip": "wxt zip", "zip": "wxt zip",
"zip:firefox": "wxt zip -b firefox", "zip:firefox": "wxt zip -b firefox",
"compile": "tsc --noEmit", "compile": "tsc --noEmit",
"postinstall": "wxt prepare" "postinstall": "wxt prepare",
"submit": "wxt submit"
}, },
"dependencies": { "dependencies": {
"@hookform/resolvers": "^5.2.2", "@hookform/resolvers": "^5.2.2",

View File

@@ -20,7 +20,7 @@ export default defineConfig({
name: "Neo Downloader Plus", name: "Neo Downloader Plus",
description: "Neo Downloader Plus Browser Integration", description: "Neo Downloader Plus Browser Integration",
homepage_url: "https://neodlp.neosubhamoy.com", homepage_url: "https://neodlp.neosubhamoy.com",
version: "0.1.0", version: "0.1.1",
permissions: ["tabs", "storage", "contextMenus", "nativeMessaging"], permissions: ["tabs", "storage", "contextMenus", "nativeMessaging"],
} }
if (browser === 'chrome') { if (browser === 'chrome') {