You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: elasticsearch-api/utils/README.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,11 @@ $ thor code:generate
24
24
$ IGNORE_VERSION=true thor code:generate
25
25
```
26
26
27
+
- You can use the environment variable `BUILD_HASH` to update the build hash for the generated code from the `tmp/rest-api-spec/build_hash` file. This file is updated every time you use the `elasticsearch:download_artifacts` Rake task is used in the root of the project to download the latest Elasticsearch specs and tests:
28
+
```bash
29
+
$ BUILD_HASH=true thor code:generate
30
+
```
31
+
27
32
### Development
28
33
29
34
The main entry point is `generate_source.rb`, which contains a class that implements a Thor task: `generate`:
0 commit comments