Skip to content

Commit

Permalink
Adjusted script
Browse files Browse the repository at this point in the history
  • Loading branch information
Reedyuk committed Nov 24, 2022
1 parent 8c6245d commit 82fecc2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scripts/update-from-template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ git checkout --orphan our_template $COMMIT_LATEST_TAG
git add *
git commit -m "Updated with the template version $LATEST_TAG_FLASK_APP_TEMPLATE"

# Force a merge w/ the 'dev' branch
git checkout dev
git merge our_template --allow-unrelated-histories -X theirs
# Force a merge w/ the 'master' branch
git checkout master
git merge our_template --allow-unrelated-histories -X ours

# Remove orphan branch & push 'dev' branch
# Remove orphan branch & push 'master' branch
git branch -D our_template
git push origin dev
git push origin master

0 comments on commit 82fecc2

Please sign in to comment.