Skip to content

Commit

Permalink
fix: set dir for git push
Browse files Browse the repository at this point in the history
  • Loading branch information
roleyfoley committed Oct 4, 2023
1 parent 453a179 commit a8302e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/saveCMDBRepos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ function commit_tag_push() {

debug "Pushing the repo upstream"
if git -C "${repo_dir}" symbolic-ref -q HEAD; then
if git push --tags ${repo_remote} ${repo_branch}; then
if git -C "${repo_dir}" push --tags ${repo_remote} ${repo_branch}; then
REPO_PUSHED=true
break
else
Expand Down

0 comments on commit a8302e6

Please sign in to comment.