Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.
TypeScript boardcollaborationdocdocxexceloffce365officepdfpptpptxpresentationsdksheetslidesspreadsheetuniverwordwordprocessorworkspacexlsx
chore: fix release workflow
白熱2e460ed96cec
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 1839324e19..7e199eca9a 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -34,9 +34,11 @@ jobs:- name: 🚚 Get release typeid: release-typerun: |- if [[ ${{ github.ref_name }} =~ -(alpha)\. ]]; then+ if [[ ${{ github.ref_name }} =~ -(alpha|beta|rc)\. ]]; thenextracted_type="${BASH_REMATCH[1]}"echo "value=$extracted_type" >> $GITHUB_OUTPUT+ else+ echo "value=stable" >> $GITHUB_OUTPUTfirelease-npm:@@ -70,9 +72,9 @@ jobs:- name: 🐙 Publishrun: |if [[ ${{ needs.prepare.outputs.release_type }} == "alpha" ]]; then- pnpm publish --access public --tag ${{ needs.prepare.outputs.release_type }} -r+ pnpm publish --access public --tag ${{ needs.prepare.outputs.release_type }} -r --no-git-checkselse- pnpm publish --access public -r+ pnpm publish --access public -r --no-git-checksfienv:NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}@@ -109,9 +111,9 @@ jobs:- name: 🐙 Publishrun: |if [[ ${{ needs.prepare.outputs.release_type }} == "alpha" ]]; then- pnpm publish --access public --tag ${{ needs.prepare.outputs.release_type }} -r+ pnpm publish --access public --tag ${{ needs.prepare.outputs.release_type }} -r --no-git-checkselse- pnpm publish --access public -r+ pnpm publish --access public -r --no-git-checksfienv:NODE_AUTH_TOKEN: ${{ secrets.VERDACCIO_TOKEN }}diff --git a/.release-it.json b/.release-it.jsonindex 802015fbdf..72d2c2050b 100644--- a/.release-it.json+++ b/.release-it.json@@ -1,14 +1,19 @@{"git": {"commitMessage": "chore(release): release v${version}",- "tagName": "v${version}",- "requireCleanWorkingDir": false+ "tagName": "v${version}"+ },+ "npm": {+ "publish": false+ },+ "github": {+ "release": true},- "npm": false,"plugins": {"@release-it/conventional-changelog": {"preset": "angular",- "infile": "CHANGELOG.md"+ "infile": "CHANGELOG.md",+ "ignoreRecommendedBump": true},"@release-it-plugins/workspaces": {