Skip to content

Commit

Permalink
PMM-4817 add popd before continue
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Tymchuk committed Jul 20, 2023
1 parent 4657e6e commit 3ce6898
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build/scripts/create-tags
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ for REPO in "${repos[@]}"; do
BRANCH="pmm-${VERSION}"
if ! git checkout "$BRANCH"; then
echo "Warning: failed to checkout the repository $REPO to $BRANCH"
popd >/dev/null
rm -rf "$DIR_NAME"
continue
fi
echo "SHA: $(git rev-parse HEAD)"
Expand Down

0 comments on commit 3ce6898

Please sign in to comment.