zklighter-perps 1.0.87 → 1.0.88
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
CHANGED
|
@@ -103,15 +103,17 @@ jobs:
|
|
|
103
103
|
name: Generate TS client using OpenAPI Generator
|
|
104
104
|
command: |
|
|
105
105
|
java -jar openapi-generator-cli.jar generate -i ./openapi.json -g typescript-fetch -o . -c config.yaml
|
|
106
|
+
- run:
|
|
107
|
+
name: git status
|
|
108
|
+
command: |
|
|
109
|
+
if git status | grep -q "nothing to commit"; then
|
|
110
|
+
exit 1;
|
|
111
|
+
fi
|
|
106
112
|
- run:
|
|
107
113
|
name: Increase package version
|
|
108
114
|
command: |
|
|
109
115
|
jq '.version |= (split(".") | .[2] = ((.[2] | tonumber) + 1 | tostring) | join("."))' package.json > tmp.json && mv tmp.json package.json
|
|
110
116
|
|
|
111
|
-
- run:
|
|
112
|
-
name: git status
|
|
113
|
-
command: |
|
|
114
|
-
git status
|
|
115
117
|
- run:
|
|
116
118
|
name: push to new branch
|
|
117
119
|
command: |
|
|
@@ -136,9 +138,10 @@ jobs:
|
|
|
136
138
|
steps:
|
|
137
139
|
- checkout
|
|
138
140
|
- run:
|
|
139
|
-
name: Remove
|
|
141
|
+
name: Remove binaries
|
|
140
142
|
command: |
|
|
141
143
|
rm -rf goctl-swagger-amd
|
|
144
|
+
rm -rf openapi-generator-cli.jar
|
|
142
145
|
- run:
|
|
143
146
|
name: Publish npm package
|
|
144
147
|
command: |
|
package/package.json
CHANGED
|
Binary file
|