Skip to content

Commit d6b68ca

Browse files
committed
fix: 🐛 ensure upstream tracking when pushing CHANGELOG
1 parent 3a15569 commit d6b68ca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/gitutils/_git-release-prod.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ if bump-changelog -f $GBV -b -m; then
6767
zz_log e "Cannot commit version & CHANGELOG"
6868
exit 1
6969
else
70-
git push origin $flow/$name
70+
git push --set-upstream $(git remote) $flow/$name
7171
zz_log s "Version & CHANGELOG committed and pushed"
7272
fi
7373

0 commit comments

Comments
 (0)