Skip to content

Commit

Permalink
build: fix config
Browse files Browse the repository at this point in the history
  • Loading branch information
acid-chicken committed Apr 26, 2023
1 parent 409bebe commit fe1db93
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -251,11 +251,11 @@ jobs:
shell: bash
- name: Publish
run: |
if git log -1 --pretty=%B | grep "^[0-9]\+\.[0-9]\+\.[0-9]\+$";
if git log -1 --pretty=%B | grep "^build: bump [0-9]\+\.[0-9]\+\.[0-9]\+$";
then
echo "//registry.npmjs.org/:_authToken=$GITHUB_TOKEN" >> ~/.npmrc
npm publish --access public
elif git log -1 --pretty=%B | grep "^[0-9]\+\.[0-9]\+\.[0-9]\+";
elif git log -1 --pretty=%B | grep "^build: bump [0-9]\+\.[0-9]\+\.[0-9]\+";
then
echo "//registry.npmjs.org/:_authToken=$GITHUB_TOKEN" >> ~/.npmrc
npm publish --tag next --access public
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"main": "index.js",
"types": "index.d.ts",
"napi": {
"name": "@misskey-dev/slacc",
"name": "slacc",
"triples": {
"additional": [
"aarch64-apple-darwin",
Expand Down

0 comments on commit fe1db93

Please sign in to comment.