Skip to content

code-nerd-llc/versioning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Versioning

A .NET 8 console application demonstrating automated semantic versioning with Versionize and GitHub Actions.

Prerequisites

Getting Started

dotnet restore
dotnet build
dotnet run --project VersionTestApp

How It Works

On every push to master, a GitHub Actions workflow:

  1. Builds the project
  2. Runs Versionize to analyze commits since the last release
  3. Bumps the version in VersionTestApp/VersionTestApp.csproj, updates CHANGELOG.md, and creates a git tag
  4. Pushes the changes and creates a GitHub Release

Version bumps are determined by commit messages following the Conventional Commits specification:

Prefix Version Bump
fix: Patch (1.0.x)
feat: Minor (1.x.0)
feat!: or BREAKING CHANGE: Major (x.0.0)

Commits without a feat or fix prefix are considered insignificant and do not trigger a release.

Setup

To use this workflow in your own repository, add a Personal Access Token as a repository secret named TEST_PAT with permissions to push commits and tags.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages