This repository has been archived by the owner on Mar 30, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Chanage configure_git function name in build script
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 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 |
---|---|---|
|
@@ -4,7 +4,7 @@ timestamp() { | |
echo $(date +%b\ %d\ %T) $* | ||
} | ||
|
||
setup_git() { | ||
configure_git() { | ||
timestamp Setting up git config... | ||
git config --global push.default matching | ||
git config --global user.email "[email protected]" | ||
|
@@ -14,7 +14,7 @@ setup_git() { | |
} | ||
|
||
update_ice_version() { | ||
timestamp Updating Dockerfile and commiting... | ||
timestamp Updating Dockerfile and committing... | ||
sed -i "/ENV\ ICE_VERSION/c\ENV\ ICE_VERSION\ $NEW_VERSION" ice/Dockerfile | ||
git commit ice/Dockerfile -m "Updated Ice version to $NEW_VERSION" | ||
} | ||
|
@@ -33,7 +33,7 @@ create_new_tag() { | |
git push --tags | ||
} | ||
|
||
setup_git | ||
configure_git | ||
update_ice_version | ||
update_master | ||
create_new_tag |