Sha256: 7e358b5e1c27734b50e6cff78da3c9098e66fe4c604d2073caf01dfb8512f91c
Contents?: true
Size: 437 Bytes
Versions: 63
Compression:
Stored size: 437 Bytes
Contents
/*jshint node: true*/ var grunt = require('grunt') var exec = require('shelljs').exec var pkg = require('./package') var isSuccessful = commitAndTag(pkg.version) if (!isSuccessful) { grunt.fail.fatal('Unable to commit and tag version') } return function commitAndTag(version) { var code = exec([ 'git add .', 'git commit -m "Release v' + version + '"', 'git tag ' + version, ].join(' && ')).code return !code }
Version data entries
63 entries across 63 versions & 2 rubygems