diff --git a/ci-templates/default.yml b/ci-templates/default.yml
index f21a955aac67919ae88c6301eb08459ab5362d23..ede18c0b7b4e90ee0183d4c8fde7a6aa89660d1e 100644
--- a/ci-templates/default.yml
+++ b/ci-templates/default.yml
@@ -7,12 +7,16 @@ stages:
 
 # Default configuration for all jobs
 .default:
+  variables:
+    DEFAULT_VERSION: "1.2.0-SNAPSHOT"
   before_script:
     - |
       if [ "$CI_COMMIT_REF_NAME" = "main" ] && [ -n "$CI_COMMIT_TAG" ]; then
         export APP_VERSION=$CI_COMMIT_TAG
       elif [ "$CI_COMMIT_REF_NAME" = "develop" ]; then
         export APP_VERSION="develop"
+      else
+        export APP_VERSION=$DEFAULT_VERSION
       fi
 
 # Configuration for jobs on protected branches