-
Notifications
You must be signed in to change notification settings - Fork 618
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3497 from fierlion/fierlion/unifyShortHash
Make version generation consistent across build targets
- Loading branch information
Showing
7 changed files
with
16 additions
and
41 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
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 |
---|---|---|
|
@@ -71,18 +71,6 @@ 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,18 +60,6 @@ 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 | ||
|
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
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