diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..e401aca5 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,37 @@ +name: Release + +on: + push: + tags: + - "v*" + +jobs: + release: + name: Release + runs-on: ubuntu-latest + permissions: + contents: write + + steps: + - name: Check out Git repository + uses: actions/checkout@v2 + + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + node-version: 18 + + - uses: pnpm/action-setup@v2 + with: + version: latest + + - name: Install Node.js dependencies + run: pnpm install + + - name: Build TypeScript and bundle into asar + run: pnpm run bundle + + - uses: ncipollo/release-action@v1 + with: + artifacts: "bundle/*" + makeLatest: true \ No newline at end of file diff --git a/README.md b/README.md index e7f101d6..38e7dacf 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ To install for Replugged: Click here: -[![Install in Replugged](https://img.shields.io/badge/-Install%20in%20Replugged-blue?style=for-the-badge&logo=none)](https://replugged.dev/install?identifier=dev.userpfp.userpfp) +[![Install in Replugged](https://img.shields.io/badge/-Install%20in%20Replugged-blue?style=for-the-badge&logo=none)](https://replugged.dev/install?identifier=UserPFP/UserPFP&source=github) OR diff --git a/manifest.json b/manifest.json index 135c6255..479cd22b 100644 --- a/manifest.json +++ b/manifest.json @@ -16,11 +16,11 @@ "version": "1.0.1", "updater": { "type": "github", - "id": "UserPFP/USERPFP" + "id": "UserPFP/UserPFP" }, "license": "GPL 3.0", "type": "replugged-theme", "main": "src/main.css", - "source": "https://github.com/UserPFP/USERPFP", + "source": "https://github.com/UserPFP/UserPFP", "image": ["https://camo.githubusercontent.com/68decd2d5b4c237a97940c9012474ce82e6ed3eee65b3950032475ce82192c03/68747470733a2f2f692e6962622e636f2f6d62514a534b6d2f696d6167652d323032332d30372d31362d3131323131353837322e706e67"] }