-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
packaging: add git commit info (#5049)
* packaging: generate git commit info Signed-off-by: Patrick Stephens <[email protected]> * packaging: print git commit info Signed-off-by: Patrick Stephens <[email protected]> * packaging: print git commit info Signed-off-by: Patrick Stephens <[email protected]> * packaging: tidy up comments Signed-off-by: Patrick Stephens <[email protected]>
- Loading branch information
1 parent
30a54ef
commit f19daf1
Showing
5 changed files
with
19 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.git | ||
# We need the git commit info | ||
# .git | ||
build/** | ||
dockerfiles/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,6 +38,7 @@ RUN apt-get update && \ | |
curl \ | ||
ca-certificates \ | ||
cmake \ | ||
git \ | ||
make \ | ||
tar \ | ||
libssl-dev \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,4 +33,6 @@ | |
FLB_VERSION_PATCH) | ||
#define FLB_VERSION_STR "@FLB_VERSION_STR@" | ||
|
||
#define FLB_GIT_HASH "@FLB_GIT_HASH@" | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters