Files
flipper/scripts/bump
Pascal Hartig 383cabe212 Update bump binaries
Summary:
Compiled statically for darwin and Linux (x86_64). Also
changed some flags to make this reproducible.

Reviewed By: danielbuechele

Differential Revision: D13801305

fbshipit-source-id: d98701afca3c4787922d377bc6b674b59421f5b8
2019-01-24 04:43:15 -08:00
..
2019-01-24 03:42:12 -08:00
2019-01-24 03:42:12 -08:00
2019-01-24 04:43:15 -08: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