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