Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use sbt-release to manage release version numbers and commits #150

Merged
merged 3 commits into from
Jun 18, 2018

Conversation

mengxr
Copy link
Collaborator

@mengxr mengxr commented Jun 18, 2018

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

@mengxr mengxr changed the title Use sbt-release to manage release versions Use sbt-release to manage release version numbers and commits Jun 18, 2018
Copy link
Contributor

@tomasatdatabricks tomasatdatabricks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants