Commit f01d2e36 authored by Stefan Funk's avatar Stefan Funk 🐧
Browse files

Add main stages for main branch, too

parent 5cf30bc6
......@@ -31,6 +31,7 @@ cache:
get_version_dev:
only:
- develop
- main
stage: build_version
script:
- 'PVERSION=$(mvn org.apache.maven.plugins:maven-help-plugin:3.1.1:evaluate -Dexpression=project.version -q -DforceStdout)'
......@@ -45,6 +46,7 @@ get_version_dev:
build_and_deploy_dev:
only:
- develop
- main
stage: deploy_java
script:
- 'mvn $MAVEN_OPTS $MAVEN_CLI_OPTS $MAVEN_DEPLOY_OPTS -U clean deploy -Pdhrep.deb'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment