diff --git a/GitVersion.yml b/GitVersion.yml
new file mode 100644
index 0000000000..e596af7326
--- /dev/null
+++ b/GitVersion.yml
@@ -0,0 +1,29 @@
+increment: None
+branches:
+  main:
+    mode: ContinuousDelivery
+    tag: pre
+    increment: Patch
+    prevent-increment-of-merged-branch-version: true
+    track-merge-target: false
+    regex: ^master$|^main$
+    source-branches:
+    - release
+    tracks-release-branches: true
+    is-release-branch: false
+    is-mainline: true
+    pre-release-weight: 55000
+  release:
+    mode: ContinuousDelivery
+    tag: rc
+    increment: None
+    prevent-increment-of-merged-branch-version: true
+    track-merge-target: false
+    regex: ^releases?[/-]
+    source-branches:
+    - main
+    - release
+    tracks-release-branches: false
+    is-release-branch: true
+    is-mainline: false
+    pre-release-weight: 30000