prepare-release

Automates .NET repository setup for internal release branches, adjusting builds, feeds, and pipelines.

3.2k|886|Updated Feb 17, 2015
One-click install
npx skills add https://github.com/dotnet/extensions --skill prepare-release-dotnet
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prepare-release
Source: https://github.com/dotnet/extensions/tree/main/.github/skills/prepare-release
Command: npx skills add https://github.com/dotnet/extensions --skill prepare-release-dotnet

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the preparation of a repository for an internal release branch, simplifying the process and reducing manual steps.

Core Features & Use Cases

  • Branch Preparation: Automates setting up a release branch with the necessary configurations.
  • Config File Updates: Modifies Directory.Build.props to suppress warnings for internal branches.
  • NuGet.config Management: Removes package source mappings and handles private feed credentials.
  • Version Updates: Updates eng/Versions.props for release-ready versions.
  • Pipeline Adjustments: Configures Azure DevOps pipelines for internal builds.

Quick Start

Use the prepare-release skill to prepare your repository for an internal release branch.

Frequently Asked Questions about prepare-release

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate release preparation for internal .NET branches?

Automating release preparation involves configuring repository settings, updating build properties, and setting up private feeds for internal .NET branches. This process automatically adjusts configuration files and pipelines to ensure release-ready builds without manual intervention.

How do I configure Azure DevOps pipelines for internal builds?

Configuring Azure DevOps pipelines for internal builds requires specific adjustments to the build configuration. This process automatically updates pipeline settings to handle private builds, ensuring the CI/CD system correctly targets internal release branches.

How do I manage NuGet.config for private feed credentials during a release?

Managing NuGet.config for private feeds involves removing package source mappings and handling private feed credentials. This ensures the internal release branch securely accesses required dependencies without exposing public source configurations.

Does this release preparation process update versioning in eng/Versions.props?

Yes, release preparation updates versioning by modifying the eng/Versions.props file. This sets the correct release-ready versions for your private builds, ensuring consistent versioning across the internal release branch.

What is the best way to suppress warnings in Directory.Build.props for internal branches?

The best way to suppress warnings is by modifying the Directory.Build.props file during branch preparation. This automatically adjusts build properties to silence unnecessary warnings specific to internal release configurations.

When do I need to set up a release branch for private builds?

You need to set up a release branch for private builds when preparing an internal release for .NET applications and services. This process handles branch setup, versioning, and pipeline configuration required for private builds.