Commit c7491530 authored by Kai-Holger Brassel's avatar Kai-Holger Brassel
Browse files

Keep old version when creating a new one

parent 0f6d3d26
Pipeline #4741 passed with stage
in 58 seconds
variables:
RELEASE_DIR: "release_target_211"
RELEASE_DIR: "public/release_target_211"
pages:
stage: deploy
......@@ -9,9 +9,9 @@ pages:
script:
- mvn --version
- mvn clean install # build p2 repo
- rm -rf public
- mkdir -p "public/$RELEASE_DIR"
- cp -r de.hft-stuttgart.indriya.p2site/target/repository/* "public/$RELEASE_DIR"
- rm -rf $RELEASE_DIR
- mkdir -p $RELEASE_DIR
- cp -r de.hft-stuttgart.indriya.p2site/target/repository/* $RELEASE_DIR
artifacts:
paths:
- public
......
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