zklighter-perps 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.circleci/config.yml +4 -1
- package/openapi.json +1 -1
- package/package.json +1 -1
package/.circleci/config.yml
CHANGED
|
@@ -44,6 +44,10 @@ jobs:
|
|
|
44
44
|
name: Generate TS client using OpenAPI Generator
|
|
45
45
|
command: |
|
|
46
46
|
java -jar openapi-generator-cli.jar generate -i ./openapi.json -g typescript-fetch -o . -c config.yaml
|
|
47
|
+
- run:
|
|
48
|
+
name: Increase package version
|
|
49
|
+
command: |
|
|
50
|
+
jq '.version |= (split(".") | .[2] = ((.[2] | tonumber) + 1 | tostring) | join("."))' package.json > tmp.json && mv tmp.json package.json
|
|
47
51
|
- run:
|
|
48
52
|
name: push to new branch
|
|
49
53
|
command: |
|
|
@@ -74,7 +78,6 @@ jobs:
|
|
|
74
78
|
git config --global user.email "hasan@lighter.xyz"
|
|
75
79
|
git config --global user.name "CircleCI Hasan"
|
|
76
80
|
npm set //registry.npmjs.org/:_authToken=$NPM_TOKEN
|
|
77
|
-
npm version patch
|
|
78
81
|
npm publish
|
|
79
82
|
|
|
80
83
|
parameters:
|
package/openapi.json
CHANGED