We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
production
master
1 parent a51d31c commit 98850e1Copy full SHA for 98850e1
tools/release
@@ -164,15 +164,14 @@ build_gem() {
164
release() {
165
_version="$1" # X.Y.Z
166
167
+ git checkout "$PROD_BRANCH"
168
+ git merge --no-ff --no-edit "$working_branch"
169
+
170
# Create a new tag on working branch
171
echo -e "Create tag v$_version\n"
172
git tag "v$_version"
173
- git checkout "$PROD_BRANCH"
- git merge --no-ff --no-edit "$working_branch"
-
174
- # merge from patch branch to the staging branch
175
- # NOTE: This may break due to merge conflicts, so it may need to be resolved manually.
+ # Merge from patch branch to the staging branch
176
if [[ $working_branch == hotfix/* ]]; then
177
git checkout "$STAGING_BRANCH"
178
git merge --no-ff --no-edit "$working_branch"
0 commit comments