Skip to content

Commit

Permalink
Validate package version
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Jan 26, 2024
1 parent 98274ac commit a677fd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ fi

DISTRO="$(lsb_release -sc)"
PACKAGE=$(Rscript -e "cat(as.data.frame(read.dcf('${DESCRIPTION}'))\$Package)")
VERSION=$(Rscript -e "cat(as.data.frame(read.dcf('${DESCRIPTION}'))\$Version)")
VERSION=$(Rscript -e "cat(as.character(package_version(as.data.frame(read.dcf('${DESCRIPTION}'))\$Version)))")
OSTYPE=$(Rscript -e "cat(as.data.frame(read.dcf('${DESCRIPTION}'))\$OS_type)")
PKG_VERSION="${PACKAGE}_${VERSION}"
SOURCEPKG="${PKG_VERSION}.tar.gz"
Expand Down

0 comments on commit a677fd4

Please sign in to comment.