diff --git a/.deploy_locally b/.deploy_locally new file mode 100644 index 0000000..071de44 --- /dev/null +++ b/.deploy_locally @@ -0,0 +1 @@ +grep -m 1 '' pom.xml| sed -e 's/\s*.\/\?version>//g' | xargs -l sh -c 'mvn install:install-file -Dfile=./target/libKonogonka-$0-jar-with-dependencies.jar -DgroupId=ru.redrise -DartifactId=libKonogonka -Dversion=$0 -Dpackaging=jar -DgeneratePom=true;' \ No newline at end of file diff --git a/.drone.yml b/.drone.yml index 796c65e..086d9dc 100644 --- a/.drone.yml +++ b/.drone.yml @@ -22,9 +22,9 @@ steps: path: /builds - name: install-local-repo - image: alpine:latest + image: maven:3-jdk-11 commands: - - mvn install:install-file -Dfile=./target/libKonogonka-*-jar-with-dependencies.jar -DgroupId=ru.redrise -DartifactId=libKonogonka -Dversion=`grep -m 1 '' pom.xml| sed -e 's/\s*.\/\?version>//g'` -Dpackaging=jar -DgeneratePom=true; + - . .deploy_locally volumes: - name: m2