Gus
Gus

Reputation: 4517

Play framework 2.x - How to automate version changes and releases for production deployment

I'm on the process of release a play app to production. So far most of my experience has been with java projects, using maven with maven-release-plugin, for version incrementing, creating a version tag in git, etc.

How to handle releases and version changes with play framework?

I found a few mentions about sbt-release, but haven't found a complete tutorial or a sample project.

Upvotes: 3

Views: 88

Answers (1)

johanandren
johanandren

Reputation: 11479

Depends on you requirements, in my experience I haven't had much need to do the whole build-test-commit-tag-release-commit dance, but then I have used it in continuous-delivery-like circumstances. Just making sure that there is something marking what VCS-revision a certain binary is (for example using sbt-buildinfo) and then using plays dist has been enough.

If you really need it the sbt-release plugin has got a pretty detailed documentation. I would try with that to begin with.

Upvotes: 1

Related Questions