Partas.Tools.SepochSemver
0.4.1
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Partas.Tools.SepochSemver --version 0.4.1
NuGet\Install-Package Partas.Tools.SepochSemver -Version 0.4.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Partas.Tools.SepochSemver" Version="0.4.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Partas.Tools.SepochSemver" Version="0.4.1" />
<PackageReference Include="Partas.Tools.SepochSemver" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Partas.Tools.SepochSemver --version 0.4.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Partas.Tools.SepochSemver, 0.4.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Partas.Tools.SepochSemver@0.4.1
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Partas.Tools.SepochSemver&version=0.4.1
#tool nuget:?package=Partas.Tools.SepochSemver&version=0.4.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Configuration
Design
- Output type
- Splitting
- Mono file
- File per scope
- File per epoch
- Formatting
- Scope grouping
- Scope prefixing
- Prefix per scope
- Epoch grouping
- Splitting
- Output path
- Output name (implicit to above)
- fine grained per project
- Project type
- Fsharp
- Ignore projects
- General
- Defining scopes to paths
- Fsharp
- Scoping names
- Autobump error (error on attempt to create the file if it requires bumping)
- Forced bump
- Bump for scope
- Bump target
- Bump all by patch/minor/major/epoch
- Author specific
- ignore author (for bots etc)
- Generate 'Release' notes for releases piped to output pre-formatted
- GH auto release
- Assembly file management
- Scope settings
- no scoping (just normal commit logging)
- explicit scopes (only log scoped)
- autoscope (makes scopes for those not ignored)
- explicit scopes and noscoping (log explicit scopes, and bundle the rest, no version management though)
- type/description keyword/footer → bump type
- grouping matcher
- format groupings
- format content in general
- exclude paths
- initial versions if unset
- github url
Implementation
- Output type
- Splitting
- Mono file
- File per scope
- File per epoch
- Formatting
- Scope grouping
- Scope prefixing
- Prefix per scope
- Epoch grouping
- Splitting
- Output path
- Output name (implicit to above)
- fine grained per project
- Project type
- Fsharp
- Ignore projects
- General
- Defining scopes to paths
- Fsharp
- Scoping names
- Autobump error (error on attempt to create the file if it requires bumping)
- Forced bump
- Bump for scope
- Bump target
- Bump all by patch/minor/major/epoch
- Author specific
- ignore author (for bots etc)
- Generate 'Release' notes for releases piped to output pre-formatted
- GH auto release
- Assembly file management
- Scope settings
- no scoping (just normal commit logging)
- explicit scopes (only log scoped)
- autoscope (makes scopes for those not ignored)
- explicit scopes and noscoping (log explicit scopes, and bundle the rest, no version management though)
- type/description keyword/footer → bump type
- grouping matcher
- format groupings
- format content in general
- exclude paths
- initial versions if unset
- github url
- Temporarily version projects during build time so they reference each other correctly.
API Brainstorming
let config =
// make config
let runtime = new GitNetRuntime(config)
let bumps,output =
runtime.Run()
|> runtime.WriteAssemblyFiles
// bumps - dictionary of scopes to their
// new sepoch semvers
// output - markdown output for the changelogs
runtime.VersionProjects(bumps) (* takes the
bumps and uses that to match the projects
which have their version and packageVersion
fields overwritten.
Disposal functions can be used to revert
the changes if desired.
`runtime.RevertVersionProjects()`
This can be dangerous, as you might accidentally use
old package versions in your build process.
If this is done in a CI process, you'll want
to commit the changes.
*)
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- Fake.Core.String (>= 6.1.3)
- Semver (>= 3.0.0)
- XParsec (>= 0.2.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Partas.Tools.SepochSemver:
Package | Downloads |
---|---|
Partas.GitNet
Git that .Net F# |
GitHub repositories
This package is not used by any popular GitHub repositories.
Add `_.ToEncodedString()` for urls.