Comments (8)
Confirmed to have access :) Thanks. Can you email me the API key for NuGet to create the service connection?
from guardclauses.
That would be awesome, thanks. I assume that's mainly just an update to the azure-pipelines.yml file?
Questions I have on this:
-
How do I trigger a build? I'm assuming merging into a particular branch or creating a tagged release are my options. If the former, I would probably want to change the repo's defaults so that regular work occurred in a
dev
branch and releases were done by merging intomaster
probably with a tagged branch number. Does that work? Better ideas? Is it possible for the tagged release bit to happen automatically as part of the process (with the tag matching the new package version number)? -
I assume I'd need to store a
nuget.org
key in Azure. How/where do I do that?
from guardclauses.
Yes it would update the existing azure-pipelines.yml file. We would do few changes to how the NuGet package is released. Here is what i am thinking at the moment.
- We need to separate the build and the release of the NuGet package. This way we can control the release of the package.
- We can keep the current branching strategy if you want, and merge PRs in to master
- The azure-pipelines.yml file will contain some tasks with conditions to only execute when not triggered from a PR build
- We can setup a release definition that is triggered only when a tag is pushed to the master branch that matches certain pattern. In this case your version number.
- But the Azure Pipelines Releases does not support YAML releases at the moment, but it will be coming in 2019. So we will have to create the release pipeline manually.
- The API key needed for pushing the NuGet package to public NuGet registry can be stored with in Azure DevOps. We can create a Service Connection for the this and use the Service Connection to push the NuGet package in to NuGet.org
I've forked this repository to my GitHub account, I'll create a PoC and give you a run down on how we would release and any issues if they present themselves. Please let me know what you think.
from guardclauses.
Sounds good - looking forward to seeing it. Thanks!
from guardclauses.
Hi @ardalis,
I think i am done.. :) Created the PR with the new CI pipeline. We need to create the release pipeline next. How should i proceed? Will i able to get provisional access to the dev.azure.com/ardalis to create the pipeline? Please have a look at the new pipeline and the build.
from guardclauses.
I can probably get you access to my pipeline. Or you can just outline the steps I need to take here or in a new issue. To add you I probably need your email address.
from guardclauses.
My email address is kvkrusl[at]gmail.com I'm good with both Steve, what is your preference? Outlining the steps or me creating the release pipeline? :)
from guardclauses.
Invite sent. :)
from guardclauses.
Related Issues (20)
- Enhanced support for value types HOT 3
- Feature request: GuardComplete rider add-in HOT 1
- Support passing ParamName when using GuardAgainstExpression
- Make T nullable HOT 2
- Assign pull-requests: write permission to build action HOT 6
- Images
- Re-add JetBrains Annotations HOT 1
- CallerArgumentExpression No Longer Working When Targeting net6.0 HOT 9
- Localization and multi language support HOT 1
- Fix `AgainstExpression` to be `Expression` HOT 2
- Support .NET 6, .NET 7 AND .NET 8? HOT 1
- FluentValidation
- MaxLengthExceeded / TooLong HOT 2
- MinLength / TooShort
- LengthOutOfRange HOT 3
- Fix Build HOT 1
- Unify method signatures among frameworks HOT 2
- Can we support Expression on refrence type not only struct
- Typo in the StringTooLong error message HOT 2
- Namespace typo? HOT 1
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 guardclauses.