From fe7352032696ecf2cc34a58f719a5681202b3f3d Mon Sep 17 00:00:00 2001 From: Admin_mschuemi Date: Wed, 20 Mar 2024 09:09:54 -0400 Subject: [PATCH] Updating POM version --- extras/PackageMaintenance.R | 4 ++-- pom.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/extras/PackageMaintenance.R b/extras/PackageMaintenance.R index 7f239843..7c95521d 100644 --- a/extras/PackageMaintenance.R +++ b/extras/PackageMaintenance.R @@ -22,7 +22,7 @@ devtools::spell_check() # Create manual and vignettes -------------------------------------------------- unlink("extras/SqlRender.pdf") -shell("R CMD Rd2pdf ./ --output=extras/SqlRender.pdf") +system("R CMD Rd2pdf ./ --output=extras/SqlRender.pdf") dir.create("inst/doc") rmarkdown::render("vignettes/UsingSqlRender.Rmd", @@ -39,7 +39,7 @@ checksum <- rJava::J("org.ohdsi.sql.JarChecksum", "computeJarChecksum") write(checksum, file.path("inst", "csv", "jarChecksum.txt")) # Release package -------------------------------------------------------------- -# Check if DESCRIPTION verison matches POM version: +# Check if DESCRIPTION version matches POM version: descriptionVersion <- stringr::str_extract(readLines("DESCRIPTION")[grepl("^Version:", readLines("DESCRIPTION"))], "(?<=Version: ).*$") pomVersion <- stringr::str_extract(readLines("pom.xml")[grepl("SNAPSHOT", readLines("pom.xml"))], "(?<=).*(?=-SNAPSHOT)") if (descriptionVersion != pomVersion) stop("DESCRIPTION version does not match POM version") diff --git a/pom.xml b/pom.xml index d5f8bbef..3fc9ffd8 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ org.ohdsi.sql SqlRender jar - 1.16.1-SNAPSHOT + 1.17.0-SNAPSHOT SqlRender scm:git:https://github.com/OHDSI/SqlRender