Skip to content

Commit

Permalink
Updating POM version
Browse files Browse the repository at this point in the history
  • Loading branch information
Admin_mschuemi authored and Admin_mschuemi committed Mar 20, 2024
1 parent 5cba4de commit fe73520
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions extras/PackageMaintenance.R
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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</version>", readLines("pom.xml"))], "(?<=<version>).*(?=-SNAPSHOT</version>)")
if (descriptionVersion != pomVersion) stop("DESCRIPTION version does not match POM version")
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<groupId>org.ohdsi.sql</groupId>
<artifactId>SqlRender</artifactId>
<packaging>jar</packaging>
<version>1.16.1-SNAPSHOT</version>
<version>1.17.0-SNAPSHOT</version>
<name>SqlRender</name>
<scm>
<connection>scm:git:https://github.com/OHDSI/SqlRender</connection>
Expand Down

0 comments on commit fe73520

Please sign in to comment.