Files
flipper/scripts/bump
Pascal Hartig 704634768f Update bump binary for Linux
Summary: This is the one used on sandcastle, built statically.

Reviewed By: jknoxville

Differential Revision: D15374415

fbshipit-source-id: 7b200e8630ce0a3a336cc46df26df367ed712fa1
2019-05-17 02:36:18 -07:00
..
2019-01-24 03:42:12 -08:00
2019-05-17 02:36:17 -07:00
2019-05-17 02:36:18 -07:00
2019-01-24 03:42:12 -08:00
2019-01-24 04:43:15 -08: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