2.1.1 • Published 5 years ago

foundry-release-git-semver-branches v2.1.1

Weekly downloads
2
License
-
Repository
github
Last release
5 years ago

foundry-release-git-semver-branches Build status

Foundry command that creates semver branches (e.g. 1.x.x, 1.2.x)

This was built for gratipay/gratipay-badge, a donation button for Gratipay. We needed a variable way to reference the latest image without hotlinking to master.

Getting Started

Install the module with: npm install foundry-release-git-semver-branches

After installation, foundry will automatically detect it in your node_modules.

foundry release 1.0.0
# Releases and pushes `1.x.x` and `1.0.x` branch

Documentation

This library was build to match the foundry release specification and is written on top of foundry-release-base. Documentation can be found at:

https://github.com/twolfson/foundry-release-spec

https://github.com/twolfson/foundry-release-base

Actions

  • On publish, we overwrite the semver branches and push them
    • For example, version: 1.2.3 will create/overwrite branches 1.2.x and 1.x.x and push them

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint via grunt and test via npm test.

Donating

Support this project and others by twolfson via gratipay.

Support via Gratipay

Unlicense

As of Nov 07 2014, Todd Wolfson has released this repository and its contents to the public domain.

It has been released under the UNLICENSE.