diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 55ebab01e..71449e8e4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,7 +2,7 @@ name: .NET Build and Publish on: push: - branches: ["main", "dev"] # Continuous delivery on every long-lived branch + branches: ["main", "dev", "release/*"] # Continuous delivery on every long-lived branch tags: ["v3.*"] # Manual delivery on every 3.x tag jobs: diff --git a/Build/Consts.cs b/Build/Consts.cs index 10dfdfad6..ef4e1a457 100644 --- a/Build/Consts.cs +++ b/Build/Consts.cs @@ -31,6 +31,15 @@ public static class Consts new("Connectors/Autocad/Speckle.Connectors.Autocad2024", "net48"), new("Connectors/Autocad/Speckle.Connectors.Autocad2025", "net8.0-windows") ] + ), + new( + "civil3d", + [ + new("Connectors/Autocad/Speckle.Connectors.Civil3d2022", "net48"), + new("Connectors/Autocad/Speckle.Connectors.Civil3d2023", "net48"), + new("Connectors/Autocad/Speckle.Connectors.Civil3d2024", "net48"), + new("Connectors/Autocad/Speckle.Connectors.Civil3d2025", "net8.0-windows") + ] ) }; } diff --git a/GitVersion.yml b/GitVersion.yml index b3e72d801..e68806009 100644 --- a/GitVersion.yml +++ b/GitVersion.yml @@ -1,2 +1,6 @@ workflow: GitFlow/v1 next-version: 3.0.0 +branches: + release: + prevent-increment: + when-current-commit-tagged: true