Skip to content

Commit af38535

Browse files
authored
Merge pull request #2 from Cryptact/fix-release-script
fix: add `release` script
2 parents 9f9b6be + 1482926 commit af38535

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ jobs:
2121
run: yarn make
2222

2323
- name: Release latest
24-
run: yarn releaseLatest
24+
run: yarn release
2525
env:
2626
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cryptact/fontkit",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"description": "An advanced font engine for Node and the browser",
55
"main": "dist/fontkit.umd.js",
66
"unpkg": "dist/fontkit.umd.min.js",
@@ -10,7 +10,8 @@
1010
"make": "node Makefile.js",
1111
"clean": "node Makefile.js clean",
1212
"test": "MODULE_TYPE=commonjs mocha",
13-
"coverage": "cross-env BABEL_ENV=cover nyc mocha"
13+
"coverage": "cross-env BABEL_ENV=cover nyc mocha",
14+
"release": "node Makefile.js releaseLatest"
1415
},
1516
"dependencies": {
1617
"pako": "^1.0.6"

0 commit comments

Comments
 (0)