Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: バージョンアップ作業 #736

Merged
merged 2 commits into from
Jul 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/publish-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion etc/aiscript.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "module",
"name": "@syuilo/aiscript",
"version": "0.19.0",
"version": "1.0.0",
"description": "AiScript implementation",
"author": "syuilo <[email protected]>",
"license": "MIT",
Expand Down Expand Up @@ -57,4 +57,4 @@
"stringz": "2.1.0",
"uuid": "9.0.1"
}
}
}
Loading