svn-release

2020-02-15

Subversion release toolkit for node.js projects

svn-release

Build StatusCircleCI

Code ClimateTest Coverage

dependenciesdevDependencies

GitHub versionnpm version

npm

GitHub issuesJoin the chat at https://gitter.im/codeweaver-pl/svn-release

License

Introduction

A subversion release toolkit module for node.js projects.

Installation

With npmdo:

npm install svn-release

or, to make use of modules command line interface:

npm install -g svn-release

Usage

svn-releasecan be used in a programmatic or in a command line fashion.

API

Performing releases

var pkg = require('./package.json'),
    svnOptions = {cwd: '.'},
    releaseOptions = new SvnRelease.SvnDefaults(pkg.version)
                                .releaseOptions({dist: 'dist'});

  return new SvnRelease(svnOptions)
    .release(releaseOptions);

CLI

Displaying help information

svn-release --help:

Usage: svn-release <cmd> [options...]

Commands:

branch [options]    create new branch, based on current working copy
release [options]   create new release, based on current working copy

Options:

  -h, --help         output usage information
  -V, --version      output the version number
  -I, --interactive  perform branch or release tasks in interactive mode

Performing releases

svn-release release --help:

Usage: release [options]

create new release, based on current working copy

Options:

  -h, --help                       output usage information
  -n, --release-name [name]        overrides default release version
  -r, --release-version [version]  overrides default release version
  -N, --next-version [version]     overrides next version
  -d, --dist [dist-folder]         include distribution folder on release
  -R, --releases [path]            relative path to releases (tags)

Branching

svn-release branch --help:

Usage: branch [options]

create new branch, based on current working copy

Options:

  -h, --help                      output usage information
  -n, --branch-name [name]        override default branch name
  -b, --branch-version [version]  override default branch version
  -N, --next-version [version]    override next version
  -B, --branches [path]           relative path to branches

License

svn-releaseis available under the following licenses:

  • Apache 2.0

HomePage

https://github.com/codeweaver-pl/svn-release

Repository

https://github.com/codeweaver-pl/svn-release


上一篇:svn-resolver
下一篇:fis-project-compiler
相关教程
关注微信

扫码加入 JavaScript 社区

相关文章

首次访问,需要验证
微信扫码,关注即可
(仅需验证一次)

欢迎加入 JavaScript 社区

号内回复关键字:

回到顶部