From 0b90c15c22d9df68f8f84a8e1f6b1542944241d9 Mon Sep 17 00:00:00 2001 From: Palm Civet Date: Mon, 19 Aug 2024 10:21:23 +0800 Subject: [PATCH] ci: fix config --- .github/workflows/release.yml | 5 ++++- package.json | 2 +- vite.config.js | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0523f72..63ddc66 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,6 +8,8 @@ on: jobs: build: runs-on: ubuntu-latest + permissions: + contents: write steps: - name: Checkout branch uses: actions/checkout@v4 @@ -27,10 +29,11 @@ jobs: run: pnpm build - name: Release + continue-on-error: true uses: softprops/action-gh-release@v2 with: files: | - /dist/main.js + ./dist/main.js - name: Deploy uses: peaceiris/actions-gh-pages@v3 diff --git a/package.json b/package.json index 4f71cd5..6ff701f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "adjust-figma-toolbelt", - "version": "1.0.2", + "version": "1.0.5", "private": true, "author": "Palm Civet", "repository": "https://github.com/palmcivet/adjust-figma-toolbelt", diff --git a/vite.config.js b/vite.config.js index cf74b5d..0b5e60a 100644 --- a/vite.config.js +++ b/vite.config.js @@ -5,6 +5,7 @@ import pkg from "./package.json"; const BANNER = `/* eslint-disable */ // ==UserScript== // @name ${pkg.name} +// @name:zh-CN ${pkg.name} // @namespace ${pkg.repository} // @version ${pkg.version} // @license ${pkg.license}