Skip to content

Commit

Permalink
Fix make dev-tree git functions (hashicorp#608)
Browse files Browse the repository at this point in the history
Co-authored-by: Saad Jamal <[email protected]>
  • Loading branch information
ndhanushkodi and sadjamz authored Aug 12, 2021
1 parent af7eafa commit 1d63a58
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion control-plane/build-support/functions/10-util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,7 @@ function commit_dev_mode {
pushd "$1" > /dev/null

status "Staging CHANGELOG.md and version_*.go files"
git add CHANGELOG.md && git add version/version*.go
git add CHANGELOG.md && git add control-plane/version/version*.go
ret=$?

if test ${ret} -eq 0
Expand Down
3 changes: 3 additions & 0 deletions control-plane/build-support/scripts/dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ function main {

set_dev_mode "${sdir}" || return 1

# Currently we're in control-plane, but for git functions we should be in top-level.
cd ".."

if is_set "${do_git}"
then
status_stage "==> Commiting Dev Mode Changes"
Expand Down

0 comments on commit 1d63a58

Please sign in to comment.