Skip to content

Commit

Permalink
fix(script): update release-plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
fhussonnois committed Jan 24, 2025
1 parent 4d7d8e0 commit 3073d9e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions release-plugins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -171,18 +171,18 @@ do
fi

if [[ "$DRY_RUN" == false ]]; then
CURRENT_BRANCH=$(git branch --show-current);

echo "Run gradle release for plugin: $PLUGIN";
echo "Branch: $(git rev-parse --abbrev-ref HEAD)";
echo "Branch: $CURRENT_BRANCH";

if [[ "$AUTO_YES" == false ]]; then
askToContinue
fi

CURRENT_BRANCH=$(git branch --show-current);

# Create and push release branch
git checkout -b "$PUBLISH_RELEASE_BRANCH";
git push -u origin "$PUBLISH_RELEASE_BRANCH";
git checkout -b "$PUSH_RELEASE_BRANCH";
git push -u origin "$PUSH_RELEASE_BRANCH";

# Run gradle release
git checkout "$CURRENT_BRANCH";
Expand Down

0 comments on commit 3073d9e

Please sign in to comment.