Skip to content

NET Standard library reference implementation built via Azure Pipelines

License

Notifications You must be signed in to change notification settings

michael-wolfenden/Reference.AzurePipelines

Repository files navigation

Reference.AzurePipelines

Build Status nuget nuget downloads github last commit github license Code of Conduct semantic-release dependabot

NET Standard library reference implementation built via Azure Pipelines.

Reference.AzurePipelines

Motivation

To serve as a reference for building a NET Standard library with a CI/CD pipeline provided by Azure Pipleines.

Features

Access tokens

semantic-release requires both a GitHub and NuGet authentication token to be made available via the GITHUB_TOKEN and NUGET_TOKEN environment variables

GITHUB_TOKEN

This token is used to authenticate with GitHub to read repository information, publish a GitHub release and upload files.

Create a new personal access token with following scopes:

access token scopes

NUGET_TOKEN

This token is used to authenticate with NuGet to push packages.

Create a new api key with following scopes:

api key scopes

Using the tokens with Azure Pipelines

Once you have both tokens, you can add GITHUB_TOKEN and NUGET_TOKEN as secret Pipeline variables in your PipeLine's settings. They will automatically be decrypted in the azure-pipelines.yml script.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments