From 82416f23fe8b07a08239b77092882015b62f23ad Mon Sep 17 00:00:00 2001 From: Timothy Miller Date: Fri, 13 Sep 2024 20:38:58 +0900 Subject: [PATCH] Setup branches... --- .github/workflows/nuget.yml | 4 ++-- GitVersion.yml | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/nuget.yml b/.github/workflows/nuget.yml index 4de276b..d46886f 100644 --- a/.github/workflows/nuget.yml +++ b/.github/workflows/nuget.yml @@ -6,9 +6,9 @@ name: Nuget on: # Triggers the workflow on push or pull request events but only for the "main" branch push: - branches: [ "main", v* ] + branches: [ "main", release-*, develop-* ] pull_request: - branches: [ "main", v* ] + branches: [ "main", release-*, develop-* ] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: diff --git a/GitVersion.yml b/GitVersion.yml index fae48a2..ee36b96 100644 --- a/GitVersion.yml +++ b/GitVersion.yml @@ -1,4 +1,3 @@ -workflow: GitHubFlow/v1 -next-version: 1.9.0 +workflow: GitFlow/v1 assembly-file-versioning-format: '{Major}.{Minor}.{Patch}.{CommitsSinceVersionSource ?? 0}' assembly-informational-format: '{Major}.{Minor}.{Patch}.{CommitsSinceVersionSource ?? 0}-{BranchName}-{Sha}' \ No newline at end of file