Skip to content

Commit

Permalink
Fix update-api.sh script
Browse files Browse the repository at this point in the history
  • Loading branch information
garronej committed Oct 2, 2023
1 parent 459d0f0 commit deb002d
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions update-api.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,6 @@ cd ..
# Add the submodule change
git add $API_SUBMODULE

# Ask for user confirmation
read -p "Do you want to pin onyxia-api to $latestTag (Currently pinned is $currentTag)? " \
"This will trigger a new release of the Onyxia Helm Chart once pushed. " \
"Press 'y' then Enter to confirm: " -n 1 -r
echo # Move to a new line

if [[ ! $REPLY =~ ^[Yy]$ ]]; then
echo "Abort. Changes not committed."
exit 1
fi

# Commit the update
git commit -m "Bump onyxia-api pin to $latestTag (previously pinned to $currentTag)"

Expand Down

0 comments on commit deb002d

Please sign in to comment.