fix: release.sh: cd in disinto_release() permanently changes CWD of calling shell (#323) #333
1 changed files with 14 additions and 12 deletions
|
|
@ -118,6 +118,7 @@ This PR creates a vault item for the release of version ${version}.
|
|||
"
|
||||
|
||||
# Create branch from clean primary branch
|
||||
(
|
||||
cd "$ops_root"
|
||||
git checkout "$PRIMARY_BRANCH"
|
||||
git pull origin "$PRIMARY_BRANCH"
|
||||
|
|
@ -132,6 +133,7 @@ This PR creates a vault item for the release of version ${version}.
|
|||
echo "Error: failed to push branch" >&2
|
||||
exit 1
|
||||
}
|
||||
)
|
||||
|
||||
# Create PR
|
||||
local pr_response
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue