Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Release] Running post-11-bump-versions.sh on main doesn't work with minor/patch release #36082

Closed
kou opened this issue Jun 15, 2023 · 0 comments · Fixed by #36083
Closed

[Release] Running post-11-bump-versions.sh on main doesn't work with minor/patch release #36082

kou opened this issue Jun 15, 2023 · 0 comments · Fixed by #36083

Comments

@kou
Copy link
Member

kou commented Jun 15, 2023

Describe the bug, including details regarding any error messages, version, and platform.

dev/release/post-11-bump-versions.sh 12.0.1 13.0.0 (patch release) works on a maintenance such as maint-12.0.x branch but doesn't work on main.

See also: #36048 (comment)

$ dev/release/post-11-bump-versions.sh 12.0.1 13.0.0
Updating local default branch
Fetching origin
Fetching upstream
Fetching apache
From github.com:raulcd/arrow
 t [tag update]      apache-arrow-9.0.0 -> apache-arrow-9.0.0
Already on 'main'
Successfully rebased and updated refs/heads/main.
Updating .deb package names for 13.0.0
fatal: destination 'dev/tasks/linux-packages/apache-arrow/debian/libparquet-glib1300.install' is not a directory

Component(s)

Release

@kou kou added the Type: bug label Jun 15, 2023
kou added a commit to kou/arrow that referenced this issue Jun 15, 2023
…post-11-bump-versions.sh on main

It's needed on a maintenance branch but not needed on main.
raulcd pushed a commit that referenced this issue Jun 15, 2023
…1-bump-versions.sh on main (#36083)

### Rationale for this change

It's needed on a maintenance branch but not needed on main.

### What changes are included in this PR?

Add the current branch check whether main or not.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* Closes: #36082

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
@raulcd raulcd added this to the 13.0.0 milestone Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants