From 3b3e8d0125ebe0603113464a6ff62b9a8bcf3441 Mon Sep 17 00:00:00 2001 From: pabloFuente Date: Wed, 23 Nov 2016 23:12:00 +0100 Subject: [PATCH] v0.5 RELEASE --- BuildFrontJarAndRun.sh | 2 +- BuildJarAndRun.sh | 2 +- angular-cli-project/package.json | 2 +- spring/backend/pom.xml | 4 ++-- spring/backend/src/main/docker/Dockerfile | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/BuildFrontJarAndRun.sh b/BuildFrontJarAndRun.sh index 775c96b92..54bf8102d 100755 --- a/BuildFrontJarAndRun.sh +++ b/BuildFrontJarAndRun.sh @@ -3,4 +3,4 @@ cd angular-cli-project ng build --output-path ./../spring/backend/src/main/resources/static cd ../spring/backend mvn package -java -jar target/full-teaching.jar +java -jar target/full-teaching-0.5-SNAPSHOT.jar diff --git a/BuildJarAndRun.sh b/BuildJarAndRun.sh index d9c98cd0b..6faafbddb 100755 --- a/BuildJarAndRun.sh +++ b/BuildJarAndRun.sh @@ -1,4 +1,4 @@ #!/bin/sh cd spring/backend mvn package -java -jar target/full-teaching.jar +java -jar target/full-teaching-0.5-SNAPSHOT.jar diff --git a/angular-cli-project/package.json b/angular-cli-project/package.json index 4e18192da..e39fe8a79 100644 --- a/angular-cli-project/package.json +++ b/angular-cli-project/package.json @@ -1,6 +1,6 @@ { "name": "angular-cli-project", - "version": "0.0.0", + "version": "0.5", "author": "Pablo Fuente", "license": "MIT", "repository": { diff --git a/spring/backend/pom.xml b/spring/backend/pom.xml index ca533a410..69ff3ead9 100644 --- a/spring/backend/pom.xml +++ b/spring/backend/pom.xml @@ -4,7 +4,7 @@ com.fullteaching full-teaching - 0.0.1-SNAPSHOT + 0.5-SNAPSHOT jar backend @@ -23,7 +23,7 @@ - ${project.artifactId} + ${project.artifactId}-${project.version} diff --git a/spring/backend/src/main/docker/Dockerfile b/spring/backend/src/main/docker/Dockerfile index 5274d7fdf..cf15d631e 100644 --- a/spring/backend/src/main/docker/Dockerfile +++ b/spring/backend/src/main/docker/Dockerfile @@ -1,5 +1,5 @@ FROM java:8 -ADD full-teaching.jar app.jar +ADD full-teaching-0.5-SNAPSHOT.jar app.jar ADD init.sh init.sh RUN chmod +x /init.sh RUN bash -c 'touch /app.jar'