зеркало из https://github.com/mono/CppSharp.git
Use Nerdbank.GitVersioning
This commit is contained in:
Родитель
c281f57b52
Коммит
6fc6375bcd
|
@ -24,6 +24,16 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: '0'
|
||||
|
||||
- name: Install nbgv
|
||||
if: startsWith(matrix.config.os, 'macos')
|
||||
run: |
|
||||
dotnet tool install -g nbgv
|
||||
|
||||
- name: Set version
|
||||
run: nbgv cloud --all-vars
|
||||
|
||||
- name: Environment
|
||||
if: matrix.config.vs
|
||||
|
@ -72,6 +82,11 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: '0'
|
||||
|
||||
- name: Set version
|
||||
run: nbgv cloud --all-vars
|
||||
|
||||
- uses: actions/download-artifact@v2
|
||||
with:
|
||||
|
|
|
@ -11,7 +11,10 @@
|
|||
<RepositoryCommit>$(GITHUB_SHA)</RepositoryCommit>
|
||||
<Authors>João Matos, Dimitar Dobrev, Jose Torres</Authors>
|
||||
<Copyright>João Matos, Dimitar Dobrev</Copyright>
|
||||
<Version>0.10.6</Version>
|
||||
<Version>$(NBGV_Version)</Version>
|
||||
<AssemblyVersion>$(NBGV_AssemblyVersion)</AssemblyVersion>
|
||||
<AssemblyFileVersion>$(NBGV_AssemblyFileVersion)</AssemblyFileVersion>
|
||||
<AssemblyInformationalVersion>$(NBGV_AssemblyInformationalVersion)</AssemblyInformationalVersion>
|
||||
<IsPackable>false</IsPackable>
|
||||
<BuildDir>$(RootDir)build\</BuildDir>
|
||||
<ObjDir>$(BuildDir)obj\</ObjDir>
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
|
||||
"version": "1.0",
|
||||
"publicReleaseRefSpec": [
|
||||
"^refs/heads/master$",
|
||||
"^refs/tags/v\\d\\.\\d"
|
||||
]
|
||||
}
|
Загрузка…
Ссылка в новой задаче