Comments (9)
We would need the ability to set the release branch separate from the github default branch in order for us to use it.
from release-drafter.
Hey we have the same issue here - we follow gitflow and would prefer that all draft releases are created on the master branch, rather than default develop branch (as is common under gitflow).
An additional config entry to indicate the branch that the release / tag should be drafted on would be most helpful.
Just to elaborate on the issue:
- We follow GitFlow, and as such the default branch is develop (not master)
- All feature / fix branches get merged into develop first
- Develop then gets merged into master for release
- We have "branches: master" which correctly ensures that release-drafter updates or creates the release notes on the merge into master...
- However, the draft release it creates is still on develop (despite the master branch being indicated in the config)
from release-drafter.
Change your default branch to master?
Or perhaps we should provide a way to override the default branch.
from release-drafter.
That would mean all the PRs point at master by default and checking out the repo across team members starts from master. Kind of defeats the purposes of gitflow I think
from release-drafter.
Can you walk me through the issue you're having in a little more detail? I can see that you used the branches
option in your config, why doesn't that give the desired result?
from release-drafter.
This is indeed the same problem I am encountering
from release-drafter.
In our gitflow-like scenario we have master
setup as develop
, and production
as master. What we see happening, is that release drafter nicely creates drafts for
master`.
A problem we have (that sounds similar to the issue description) happens in the following scenario:
1 - A release branch gets created, testing starts and could take several days
2 - PRs that in the meanwhile get merged in master
(read: the gitflow develop) and do not make the release - as they are not in the release branch.
3 - The release branch gets merged in production
(read: the gitflow master) and gets tagged.
The actual problem that happened in the meanwhile: the PRs that get merged in step 2 do not appear in the next release draft.
from release-drafter.
I think the problems you are facing can be solved with the filter-by-commitish
config, I came up with this comment on how to change the target_commitish
of a GitHub release: #656 (comment)
from release-drafter.
You also might be interested in #1061
from release-drafter.
Related Issues (20)
- v5.25.0 release not yet there! HOT 1
- Allow `replacers` to uppercase/lowercase capturing groups HOT 1
- Increase prerelease without prerelease identifier HOT 7
- Bug `.yaml` should work as well
- Warnings due to unknown webhook names HOT 1
- Provide capabilities to group multiple dependabot PRs for the same artifact HOT 1
- Add support for a `exclude-path` in the configuration
- Github App Auth to read config from different private repo from same org HOT 2
- Feature: Add the ability to set the default category HOT 3
- Why does setting latest to false in yml still result in release marked as "latest"? HOT 1
- Release-drafter uses default 0.1.0 as resolved version for the draft version
- `using: 'node16'` is deprecated. Please bump to node20
- Isolated commit releases
- Missing pull requests in the draft HOT 3
- Make action compatible with Gitea HOT 4
- Template is not showing changes. HOT 5
- Incorrect Signature Call For semver.inc HOT 1
- GraphqlResponseError: Release drafter suddenly broke HOT 3
- Version resolver has issues with first major release HOT 5
- How to get drafter to exclude commits from previous tags? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from release-drafter.