1.0.0 • Published 8 years ago
svn-get-revision v1.0.0
svn-get-revision
Simple pipeable revision getter for SVN
Simple command line wrapper around node-svn. Literally like 10 lines of code.
Usage
npm install svn-get-revision
svn-get-revision c:\location\of\your\working_copy > svn_latest_revision.txt
Now you have a txt file containing your latest revision. This can be ran at build time to get you the latest version information to be used in something like a package.json file to seed the version in your app. My use case was the fact that we still use SVN at work and I needed it to play nice with CI.
1.0.0
8 years ago