-
Notifications
You must be signed in to change notification settings - Fork 619
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e8d24d7
commit 6e8c9a5
Showing
2 changed files
with
24 additions
and
0 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 |
---|---|---|
|
@@ -71,6 +71,18 @@ phases: | |
|
||
# Build agent tar and rpm | ||
- GO111MODULE=auto | ||
|
||
# Update version.go file | ||
- ./scripts/update-version.sh | ||
- git add agent/version/version.go | ||
|
||
# Dummy git config to create a commit | ||
- git config user.email "[email protected]" | ||
- git config user.name "Your Name" | ||
|
||
# Commit required to build agent with updated files | ||
- git commit -m "update version" | ||
|
||
- make dockerfree-agent-image | ||
- make generic-rpm-integrated | ||
- ls | ||
|
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 |
---|---|---|
|
@@ -60,6 +60,18 @@ phases: | |
|
||
# Building agent tars | ||
- GO111MODULE=auto | ||
|
||
# Update version.go file | ||
- ./scripts/update-version.sh | tee -a $BUILD_LOG | ||
- git add agent/version/version.go | tee -a $BUILD_LOG | ||
|
||
# Dummy git config to create a commit | ||
- git config user.email "[email protected]" | tee -a $BUILD_LOG | ||
- git config user.name "Your Name" | tee -a $BUILD_LOG | ||
|
||
# Commit required to build agent with updated files | ||
- git commit -m "update version" | tee -a $BUILD_LOG | ||
|
||
- make dockerfree-agent-image 2>&1 | tee -a $BUILD_LOG | ||
- make generic-rpm-integrated 2>&1 | tee -a $BUILD_LOG | ||
- ls | ||
|