Idea: Manage appveyor.yml by branch #660
craigfowler
started this conversation in
Design & tech
Replies: 1 comment 1 reply
-
|
This sounds good to me. The only reason it was done the way it is now is due to lack of experience with AppVeyor. Please feel free to go ahead and implement the suggested changes. Let me know if you need help with this. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, the
appveyor.ymlfile that's checked into source control (across all active long-lived branches) has the build configuration for all of the branches. For example in the v2 branch the file has build configs for 1.4.x and 1.5.x as well as the 2.x code. Which part of the yml build config is then chosen by syntax like:This could be simplified though. When AppVeyor runs a build, it uses the appveyor.yml file from the same commit as it is building. This means that the file only actually needs to contain the config for the codebase that's in that same branch. The (sort-of) YML switch/case that's going on isn't actually needed.
I think this would make the build config more clear and easier to maintain. Have I missed perhaps a motivation for doing it the current way? Any other thoughts/opinions?
Beta Was this translation helpful? Give feedback.
All reactions