From 84f29ea7e01f745bb64a60b3b0369dd6e1b94454 Mon Sep 17 00:00:00 2001 From: LSmyrnaios Date: Tue, 30 May 2023 15:22:20 +0300 Subject: [PATCH] Update versioning. --- build.gradle | 4 ++-- installAndRun.sh | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index 0fbc20a..13ef2cf 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,7 @@ plugins { } group = 'eu.openaire.urls_worker' -version = '1.0.0-SNAPSHOT' +version = '2.1.0-SNAPSHOT' sourceCompatibility = '1.8' repositories { @@ -32,7 +32,7 @@ dependencies { // Enable the validation annotations. //implementation group: 'jakarta.validation', name: 'jakarta.validation-api', version: '3.0.2' - implementation ("eu.openaire:publications_retriever:1.0-SNAPSHOT") { + implementation ("eu.openaire:publications_retriever:1.1-SNAPSHOT") { exclude group: 'ch.qos.logback', module: 'logback-core' exclude group: 'ch.qos.logback', module: 'logback-classic' exclude group: 'org.slf4j', module: 'slf4j-api' diff --git a/installAndRun.sh b/installAndRun.sh index 737bac0..c0e0e1d 100755 --- a/installAndRun.sh +++ b/installAndRun.sh @@ -44,14 +44,14 @@ if [[ justRun -eq 0 ]]; then git clone https://github.com/LSmyrnaios/PublicationsRetriever.git # We assume there is no previously source-code here, if so, it will be overwritten. # Keep a backup of the previous JAR file, if it exists. - if [ -f ./publications_retriever-1.0-SNAPSHOT.jar ]; then - mv ./publications_retriever-1.0-SNAPSHOT.jar ./publications_retriever-1.0-SNAPSHOT_BACKUP.jar + if [ -f ./publications_retriever-1.1-SNAPSHOT.jar ]; then + mv ./publications_retriever-1.1-SNAPSHOT.jar ./publications_retriever-1.1-SNAPSHOT_BACKUP.jar fi cd PublicationsRetriever && sudo apt install -y maven && mvn clean install # Copy the created JAR file to the top libs directory. - cp target/publications_retriever-1.0-SNAPSHOT.jar ../publications_retriever-1.0-SNAPSHOT.jar + cp target/publications_retriever-1.1-SNAPSHOT.jar ../publications_retriever-1.1-SNAPSHOT.jar # Delete the directory with the source-code. cd ../ && rm -rf PublicationsRetriever