mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-06 20:13:40 +00:00
tag the packages as pre-release
This commit is contained in:
+3
-3
@@ -3,11 +3,11 @@ using System.Reflection;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
[assembly: AssemblyProductAttribute("Octokit")]
|
||||
[assembly: AssemblyVersionAttribute("0.6.3")]
|
||||
[assembly: AssemblyFileVersionAttribute("0.6.3")]
|
||||
[assembly: AssemblyVersionAttribute("0.7.0")]
|
||||
[assembly: AssemblyFileVersionAttribute("0.7.0")]
|
||||
[assembly: ComVisibleAttribute(false)]
|
||||
namespace System {
|
||||
internal static class AssemblyVersionInformation {
|
||||
internal const string Version = "0.6.3";
|
||||
internal const string Version = "0.7.0";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,6 +6,9 @@ open SourceLink
|
||||
|
||||
let authors = ["GitHub"]
|
||||
|
||||
// TODO: this is a naughty hack
|
||||
let preRelease = "-alpha2"
|
||||
|
||||
// project name and description
|
||||
let projectName = "Octokit"
|
||||
let projectDescription = "An async-based GitHub API client library for .NET"
|
||||
@@ -136,7 +139,7 @@ Target "CreateOctokitPackage" (fun _ ->
|
||||
OutputPath = packagingRoot
|
||||
Summary = projectSummary
|
||||
WorkingDir = packagingDir
|
||||
Version = releaseNotes.AssemblyVersion
|
||||
Version = releaseNotes.AssemblyVersion + preRelease
|
||||
ReleaseNotes = toLines releaseNotes.Notes
|
||||
AccessKey = getBuildParamOrDefault "nugetkey" ""
|
||||
Publish = hasBuildParam "nugetkey" }) "octokit.nuspec"
|
||||
@@ -159,10 +162,10 @@ Target "CreateOctokitReactivePackage" (fun _ ->
|
||||
OutputPath = packagingRoot
|
||||
Summary = reactiveProjectSummary
|
||||
WorkingDir = reactivePackagingDir
|
||||
Version = releaseNotes.AssemblyVersion
|
||||
Version = releaseNotes.AssemblyVersion + preRelease
|
||||
ReleaseNotes = toLines releaseNotes.Notes
|
||||
Dependencies =
|
||||
["Octokit", NormalizeVersion releaseNotes.AssemblyVersion
|
||||
["Octokit", NormalizeVersion releaseNotes.AssemblyVersion + preRelease
|
||||
"Rx-Main", GetPackageVersion "./packages/" "Rx-Main"]
|
||||
AccessKey = getBuildParamOrDefault "nugetkey" ""
|
||||
Publish = hasBuildParam "nugetkey" }) "Octokit.Reactive.nuspec"
|
||||
|
||||
Reference in New Issue
Block a user