diff --git a/Directory.Build.targets b/Directory.Build.targets new file mode 100644 index 000000000..a0ba32f4d --- /dev/null +++ b/Directory.Build.targets @@ -0,0 +1,17 @@ + + + + $(GenerateNuspecDependsOn);TimestampNugetPackage + + + true + + + + + $([System.DateTime]::Now.ToString(yyyyMMdd-HHmm)) + $(PackageVersion)-preview.$(CurrentDate) + version=$(PackageVersion) + + + diff --git a/version.json b/version.json index 1ad0053f8..13b4e49b6 100644 --- a/version.json +++ b/version.json @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/main/src/NerdBank.GitVersioning/version.schema.json", - "version": "1.0.0", + "version": "1.0", "publicReleaseRefSpec": [ "^refs/heads/main$", "^refs/heads/v\\d+(?:\\.\\d+)?$"