Skip to content

Commit

Permalink
Bump Version in R DESCRIPTION file.
Browse files Browse the repository at this point in the history
  • Loading branch information
heuermh committed May 22, 2019
1 parent 6045e41 commit 9a1e9d5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/release/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ branch=$(git status -bs | awk '{ print $2 }' | awk -F'.' '{ print $1 }' | head -
mvn com.github.heuermh.maven.plugin.changes:github-changes-maven-plugin:1.0:github-changes -DmilestoneId=${milestone}
git commit -a -m "Modifying changelog."

# update R version
sed -i -e "s/Version: [0-9.]*/Version: $1/g" adam-r/bdgenomics.adam/DESCRIPTION
git commit -a -m "Bumping R version to $1."

commit=$(git log --pretty=format:"%H" | head -n 1)
echo "releasing from ${commit} on branch ${branch}"

Expand Down

0 comments on commit 9a1e9d5

Please sign in to comment.