more towards update version/docs after release by creating a PR

This commit is contained in:
Ryan Richard
2025-08-04 14:15:38 -07:00
parent 3ea7403b6f
commit c1fcb8a0fc
2 changed files with 18 additions and 4 deletions
@@ -47,6 +47,13 @@ git add "$configdoc"
# Print the current status to the log.
git status
# Restore the unstaged changes, if any.
echo "Restoring any unstaged changes."
git restore .
# Print the current status to the log.
git status
# Did we just stage any changes?
staged=$(git --no-pager diff --staged)
if [[ "$staged" == "" ]]; then
@@ -57,8 +64,4 @@ else
echo "Found changes for $clidoc or $configdoc:"
echo
echo "$staged"
echo
# Commit.
echo "Committing changes."
git commit -m "Updated versions in docs for $pinniped_tag release"
fi