From 9a58e05358b34b8996af8a90ff729c79501d3ced Mon Sep 17 00:00:00 2001 From: FineArchs <133759614+FineArchs@users.noreply.github.com> Date: Tue, 30 Jul 2024 17:51:40 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20=E3=83=90=E3=83=BC=E3=82=B8=E3=83=A7?= =?UTF-8?q?=E3=83=B3=E3=82=A2=E3=83=83=E3=83=97=E4=BD=9C=E6=A5=AD=20(#736)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * version update * api report --- .github/workflows/publish-nightly.yml | 13 +++++++++++++ etc/aiscript.api.md | 2 +- package.json | 4 ++-- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-nightly.yml b/.github/workflows/publish-nightly.yml index 06d65f3d..46172cfd 100644 --- a/.github/workflows/publish-nightly.yml +++ b/.github/workflows/publish-nightly.yml @@ -6,6 +6,17 @@ on: workflow_dispatch: jobs: + get-branches: + runs-on: ubuntu-latest + outputs: + branches: ${{ steps.getb.outputs.branches }} + steps: + - id: getb + run: | + branches=[$(git branch -r | grep origin | grep -v '\->' | sed 's/\s*origin\///' | sed 's/^.*$/"&",/')] + echo "branches=$branches" >> $GITHUB_OUTPUT + + publish: runs-on: ubuntu-latest strategy: @@ -18,6 +29,8 @@ jobs: tag: next env: NPM_SECRET: ${{ secrets.NPM_SECRET }} + needs: get-branches + if: contains(fromJSON(needs.get-branches.outputs.branches), matrix.branch) steps: - name: Checkout ${{ matrix.branch }} diff --git a/etc/aiscript.api.md b/etc/aiscript.api.md index bd332994..43e110f5 100644 --- a/etc/aiscript.api.md +++ b/etc/aiscript.api.md @@ -14,7 +14,7 @@ type AddAssign = NodeBase & { }; // @public (undocumented) -export const AISCRIPT_VERSION: "0.19.0"; +export const AISCRIPT_VERSION: "1.0.0"; // @public (undocumented) abstract class AiScriptError extends Error { diff --git a/package.json b/package.json index 9f7eec37..a7a4a9b4 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "type": "module", "name": "@syuilo/aiscript", - "version": "0.19.0", + "version": "1.0.0", "description": "AiScript implementation", "author": "syuilo ", "license": "MIT", @@ -57,4 +57,4 @@ "stringz": "2.1.0", "uuid": "9.0.1" } -} \ No newline at end of file +}