-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added ZSH to install_completion make task
- Loading branch information
Showing
13 changed files
with
120 additions
and
25 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
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
#!/usr/bin/env bash | ||
|
||
gitstream_release_update() { | ||
local version prefixed_version branch merge_args | ||
|
||
if [ $# -ne 1 ]; then | ||
usage; exit 1; | ||
fi | ||
|
||
version="$1" | ||
|
||
if [ ${version:0:${#VERSION_PREFIX}} = ${VERSION_PREFIX} ]; then | ||
prefixed_version="${version}" | ||
else | ||
prefixed_version="${VERSION_PREFIX}${version}" | ||
fi | ||
|
||
branch="${RELEASE_PREFIX}${prefixed_version}" | ||
|
||
gitstream_run_hook_die pre release update "${version}" "${branch}" "${WORKING_BRANCH}" | ||
|
||
if ! git_working_dir_clean; then | ||
print_error "Working directory is not clean. Please commit or stash your changes before proceeding" | ||
fi | ||
|
||
gitstream_checkout_branch "${WORKING_BRANCH}" | ||
|
||
git_pull | ||
|
||
gitstream_checkout_branch "${branch}" | ||
|
||
do_git rebase "${WORKING_BRANCH}" | ||
|
||
gitstream_run_hook post release update "${version}" "${branch}" "${WORKING_BRANCH}" | ||
|
||
echo | ||
echo "The ${branch} is now up to date with ${WORKING_BRANCH}." | ||
} |
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
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/usr/bin/env bash | ||
# | ||
# Run after a release is updated | ||
# | ||
# Arguments: | ||
# $1 version | ||
# $2 feature-branch | ||
# $3 working-branch | ||
|
||
VERSION=$1 | ||
BRANCH=$2 | ||
WORKING=$3 | ||
|
||
# Implement Script Here | ||
|
||
exit 0 |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/usr/bin/env bash | ||
# | ||
# Run before a release branch is updated | ||
# If this scripts exits with a non-zero code, the operation is canceled | ||
# | ||
# Arguments: | ||
# $1 feature-name | ||
# $2 feature-branch | ||
# $3 working-branch | ||
|
||
NAME=$1 | ||
BRANCH=$2 | ||
WORKING=$3 | ||
|
||
# Implement Script Here | ||
|
||
exit 0 |
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