Use sbt-release to manage release version numbers and commits#150
Merged
mengxr merged 3 commits intodatabricks:masterfrom Jun 18, 2018
Merged
Use sbt-release to manage release version numbers and commits#150mengxr merged 3 commits intodatabricks:masterfrom
mengxr merged 3 commits intodatabricks:masterfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR switches to sbt-release to manage release versions. Right now, it only helps set release version, commit, add release tag, and then bump release version, and commit again.
$ sbt release [info] Loading project definition from /Users/meng/src/tensorframes/project [info] Updating {file:/Users/meng/src/tensorframes/project/}tensorframes-build... [info] Resolving org.fusesource.jansi#jansi;1.4 ... [info] Done updating. [info] Compiling 1 Scala source to /Users/meng/src/tensorframes/project/target/scala-2.10/sbt-0.13/classes... [warn] there were 1 deprecation warning(s); re-run with -deprecation for details [warn] one warning found [info] Set current project to tensorframes (in build file:/Users/meng/src/tensorframes/) [info] Starting release process off commit: ce350652af2b49887062a652f0f0ed7d91f01f7b Release version [0.4.1] : Next version [0.4.2-SNAPSHOT] : [info] Setting version to '0.4.1'. [info] Reapplying settings... [info] Set current project to tensorframes (in build file:/Users/meng/src/tensorframes/) [info] [sbt-release b93dbb2] Setting version to 0.4.1 [info] 1 file changed, 1 insertion(+), 1 deletion(-) [info] Reapplying settings... [info] Set current project to tensorframes (in build file:/Users/meng/src/tensorframes/) [info] Reapplying settings... [info] Set current project to tensorframes (in build file:/Users/meng/src/tensorframes/) [info] Setting version to '0.4.2-SNAPSHOT'. [info] Reapplying settings... [info] Set current project to tensorframes (in build file:/Users/meng/src/tensorframes/) [info] [sbt-release 9db53f8] Setting version to 0.4.2-SNAPSHOT [info] 1 file changed, 1 insertion(+), 1 deletion(-) $ git log commit 9db53f842b8cdcff21b2b74a76d3ec45c0b7e20e (HEAD -> sbt-release) Date: Mon Jun 18 13:20:35 2018 -0700 Setting version to 0.4.2-SNAPSHOT commit b93dbb25ccdacd3857f4dba6844947b2011039cf (tag: v0.4.1) Date: Mon Jun 18 13:20:34 2018 -0700 Setting version to 0.4.1