laminas / automatic-releases

Automated release process for `laminas/` projects, usable as github action
Other
140 stars 22 forks source link

Automatically change branch name in README.md when creating new version branch #49

Open boesing opened 4 years ago

boesing commented 4 years ago

Feature Request

Q A
New Feature yes

Summary

Hey there,

in most laminas projects are badges for coveralls and travis build results. These badges point on builds for specific branches on travis/coveralls.

When laminas/automatic-releases kicks in, the branch is still pointing to the initial branch (which was probably set up when the package was created).

I'd like this tool to change the branch name in the README.md aswell so travis builds and coveralls stats are shown for the branch one is working on.

Ocramius commented 4 years ago

I think it would make more sense to run a small vadge proxy at that point? Committing changes just for the badges seems too error prone, especially considering that badges format is not set in stone 🤔

geerteltink commented 4 years ago

Isn't there a service like shields.io or somthing which we can use to generate badges for the default / latest branch?

Ocramius commented 4 years ago

Related: https://github.com/badges/shields/issues/5215

geerteltink commented 4 years ago

Ah, that's how they generate it without a branch. It would be nice if github would make the default branch accessible somehow. Something like https://github.com/laminas/automatic-releases/tree/default, if that is even technically possible.