Skip to content

Commit

Permalink
Apply fix from mdemoret-nv:mdd_force-stubgen-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
dagardner-nv committed Aug 3, 2023
1 parent c0f8a35 commit 46ac7b5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ci/release/update-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,10 @@ function sed_runner() {

# .gitmodules
git submodule set-branch -b branch-${NEXT_SHORT_TAG} morpheus_utils
git submodule update --remote
if [[ "$(git diff --name-only | grep .gitmodules)" != "" ]]; then
# Only update the submodules if setting the branch changed .gitmodules
git submodule update --remote
fi

# Root CMakeLists.txt
sed_runner 's/'"VERSION ${CURRENT_FULL_VERSION}.*"'/'"VERSION ${NEXT_FULL_VERSION}"'/g' CMakeLists.txt
Expand Down

0 comments on commit 46ac7b5

Please sign in to comment.