Files
flipper/scripts/bump
Pascal Hartig c401f2c27d Add new bump paths
Summary: Make sure our docs get updated on release.

Reviewed By: danielbuechele

Differential Revision: D17571990

fbshipit-source-id: 36d19601cb5fb5d215e0894ef4a362e364d32880
2019-09-26 11:05:36 -07:00
..
2019-01-24 03:42:12 -08:00
2019-09-26 11:05:36 -07:00
2019-09-26 06:44:18 -07:00
2019-01-24 03:42:12 -08:00
2019-09-26 06:44:18 -07:00

bump

A small script for changing version numbers automatically.

Usage

Requires stack to be installed.

./bump.hs --help

Alternatively, use the pre-checked-in binaries from the superfolder through bump.sh.

To bump a release version, just pass the new version number.

bump 1.2.3

To bump to a snapshot release, run with --snapshot:

bump --snapshot 1.2.4-SNAPSHOT

Building

To build the native binaries, run

stack build

The binary is then placed in .stack-work/install/x86_64-osx/**/bin/bump.

To cross-compile for Linux (required for internal CI), run

stack docker pull
stack build --docker