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

fix-branches-base: rename branches to release-X.Y #11

Merged
merged 1 commit into from
Nov 10, 2016

Conversation

raimue
Copy link
Member

@raimue raimue commented Nov 7, 2016

No description provided.

--format="ref=%(refname) branch=%(refname:strip=2)" 'refs/heads/release_*' | \
while read entry; do
eval $entry
newbranch=$(sed -E 's/release_([0-9]+)/release-\1/' <<< "$branch" | tr _ .)
Copy link
Sponsor Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't match release_2_3, does it?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In fact, no, but the following tr lead to the desired result anyway, so I did not notice.

@raimue raimue merged commit 538daf9 into macports:master Nov 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants