You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
git commit -m "chore: bump git-proxy and git-proxy-cli to $VERSION"
117
-
git push -u origin "$BRANCH" --force-with-lease
151
+
git push -u origin "$BRANCH"
118
152
119
153
if [ -n "$MILESTONE_URL" ]; then
120
154
SOURCE_LINE="Triggered by closing milestone **$MILESTONE_TITLE** ($MILESTONE_URL)."
121
155
else
122
156
SOURCE_LINE="Triggered manually for version $VERSION."
123
157
fi
124
158
125
-
BODY=$(printf '%s\n\nBumps:\n- `package.json`, `package-lock.json`\n- `packages/git-proxy-cli/package.json` (including its pin on `@finos/git-proxy`)\n\nOnce merged, cut `%s` from `main` per our [release process](https://git-proxy.finos.org/docs/development/releases) in order to generate a GitHub draft release.\n' "$SOURCE_LINE" "$RELEASE_BRANCH")
159
+
BODY=$(printf '%s\n\nBumps:\n- `package.json`, `package-lock.json`\n- `packages/git-proxy-cli/package.json`, including its pin on `@finos/git-proxy`\n\nOnce merged, cut `%s` from `main` per our [release process](https://git-proxy.finos.org/docs/development/releases) in order to generate a GitHub draft release.\n' "$SOURCE_LINE" "$RELEASE_BRANCH")
126
160
127
-
if gh pr view "$BRANCH" >/dev/null 2>&1; then
128
-
echo "PR for $BRANCH already exists. Branch updated, no new PR opened."
129
-
else
130
-
gh pr create --base main --head "$BRANCH" --title "chore: bump version to $VERSION" --body "$BODY"
131
-
fi
161
+
gh pr create --base main --head "$BRANCH" \
162
+
--title "chore: bump version to $VERSION" --body "$BODY"
0 commit comments