Update versioning.

This commit is contained in:
Lampros Smyrnaios 2023-05-30 15:22:20 +03:00
parent 0908dcab8a
commit 84f29ea7e0
2 changed files with 5 additions and 5 deletions

View File

@ -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'

View File

@ -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