Commit 9c7af51 1 parent b00e3b3 commit 9c7af51 Copy full SHA for 9c7af51
File tree 3 files changed +18
-2
lines changed
3 files changed +18
-2
lines changed Original file line number Diff line number Diff line change 14
14
#include " uv.h"
15
15
#include " uvwasi.h"
16
16
#include " v8.h"
17
- #include " zlib .h"
17
+ #include " zlib_version .h"
18
18
19
19
#if HAVE_OPENSSL
20
20
#include < openssl/opensslv.h>
Original file line number Diff line number Diff line change
1
+ // This is an auto generated file, please do not edit.
2
+ // Refer to tools/dep_updaters/update-zlib.sh
3
+ #ifndef SRC_ZLIB_VERSION_H_
4
+ #define SRC_ZLIB_VERSION_H_
5
+ #define ZLIB_VERSION "1.2.13.1-motley-fef5869"
6
+ #endif // SRC_ZLIB_VERSION_H_
Original file line number Diff line number Diff line change @@ -81,7 +81,17 @@ VERSION_NUMBER=$(grep "#define ZLIB_VERSION" "$DEPS_DIR/zlib/zlib.h" | sed -n "s
81
81
82
82
NEW_VERSION=" $VERSION_NUMBER -$LATEST_COMMIT "
83
83
84
+ # update version information in src/zlib_version.h
85
+ cat > " $ROOT /src/zlib_version.h" << EOF
86
+ // This is an auto generated file, please do not edit.
87
+ // Refer to tools/dep_updaters/update-zlib.sh
88
+ #ifndef SRC_ZLIB_VERSION_H_
89
+ #define SRC_ZLIB_VERSION_H_
90
+ #define ZLIB_VERSION "$NEW_VERSION "
91
+ #endif // SRC_ZLIB_VERSION_H_
92
+ EOF
93
+
84
94
# Update the version number on maintaining-dependencies.md
85
95
# and print the new version as the last line of the script as we need
86
96
# to add it to $GITHUB_ENV variable
87
- finalize_version_update " zlib" " $NEW_VERSION "
97
+ finalize_version_update " zlib" " $NEW_VERSION " " src/zlib_version.h "
You can’t perform that action at this time.
0 commit comments