GitVertsion for main and dev

This commit is contained in:
Miha Kralj
2023-04-01 18:41:31 -07:00
parent c314c87355
commit 489c0b5ad5
3 changed files with 18 additions and 13 deletions
+1 -1
View File
@@ -101,5 +101,5 @@ jobs:
if: ${{ github.ref == 'refs/heads/main' }} if: ${{ github.ref == 'refs/heads/main' }}
run: dotnet nuget push '.\Calculations\bin\Release\net8.0\QuanTAlib.*.nupkg' run: dotnet nuget push '.\Calculations\bin\Release\net8.0\QuanTAlib.*.nupkg'
--api-key ${{ secrets.NUGET_DEPLOY_KEY_QUANTLIB }} --api-key ${{ secrets.NUGET_DEPLOY_KEY_QUANTLIB }}
--Calculations https://api.nuget.org/v3/index.json --source https://api.nuget.org/v3/index.json
--skip-duplicate --skip-duplicate
+1 -1
View File
@@ -2,7 +2,7 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<Title>QuanTAlib</Title> <Title>QuanTAlib</Title>
<Version>0.1.31</Version> <Version>0.1.32</Version>
<Product>Library of TA Calculations, Charts and Strategies for Quantower</Product> <Product>Library of TA Calculations, Charts and Strategies for Quantower</Product>
<Description>Quantitative Technical Analysis Library in C# for Quantower</Description> <Description>Quantitative Technical Analysis Library in C# for Quantower</Description>
<RepositoryType>git</RepositoryType> <RepositoryType>git</RepositoryType>
+16 -11
View File
@@ -1,16 +1,21 @@
minor-version-bump-message: \+semver:\s?(feature|new) mode: Mainline
branches: branches:
main: main:
regex: ^main$ regex: ^main$
is-release-branch: true
prevent-increment-of-merged-branch-version: false
mode: ContinuousDelivery
tag: ''
increment: Patch increment: Patch
develop: is-mainline: true
regex: ^dev(elop)?(ment)?$ is-release-branch: true
source-branches: [ 'dev' ]
prevent-increment-of-merged-branch-version: true
tag: ''
dev:
regex: ^dev$
increment: Patch
is-mainline: false
is-release-branch: false is-release-branch: false
mode: ContinuousDelivery source-branches: []
tag: 'nightly' prevent-increment-of-merged-branch-version: false
increment: Inherit tracks-release-branches: true
update-build-number: true track-merge-target: true
tag: dev
tag-prefix: ''