From a26b371626a74458ade55da19ff712fd0467c686 Mon Sep 17 00:00:00 2001 From: Fine Archs Date: Tue, 30 Jul 2024 08:22:11 +0900 Subject: [PATCH 1/2] version update --- .github/workflows/publish-nightly.yml | 13 +++++++++++++ package.json | 4 ++-- 2 files changed, 15 insertions(+), 2 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/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 +} From 382938d31b485e434e737a8c543c4d0ad67e8128 Mon Sep 17 00:00:00 2001 From: FineArchs Date: Tue, 30 Jul 2024 17:45:59 +0900 Subject: [PATCH 2/2] api report --- etc/aiscript.api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {