Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: flow/flow-bin
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.121.0
Choose a base ref
...
head repository: flow/flow-bin
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.122.0
Choose a head ref
  • 2 commits
  • 3 files changed
  • 1 contributor

Commits on Apr 2, 2020

  1. add 'make push'

    mroch committed Apr 2, 2020
    Copy the full SHA
    50e6a66 View commit details
  2. v0.122.0

    mroch committed Apr 2, 2020
    Copy the full SHA
    b90241b View commit details
Showing with 18 additions and 5 deletions.
  1. +14 −1 Makefile
  2. +3 −3 SHASUM256.txt
  3. +1 −1 package.json
15 changes: 14 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FLOW_VERSION ?= $(shell node -p 'require("./package.json").version')
VERSION ?= $(shell node -p 'require("./package.json").version')
FLOW_VERSION := $(patsubst v%,%,$(VERSION))
FLOW_BINS = \
flow-linux64-v$(FLOW_VERSION)/flow \
flow-osx-v$(FLOW_VERSION)/flow \
@@ -11,6 +12,11 @@ all: clean build test
clean:
rm -rf flow-*-v* SHASUM256.txt

.PHONY: bump
bump:
sed -i.bak 's/"version": ".*"/"version": "$(FLOW_VERSION)"/' package.json
rm package.json.bak

.PHONY: test
test: $(FLOW_BINS)
shasum -c SHASUM256.txt
@@ -19,6 +25,13 @@ test: $(FLOW_BINS)
.PHONY: build
build: clean SHASUM256.txt

.PHONY: push
push: build test
git commit -am "v$(FLOW_VERSION)"
git tag -a "v$(FLOW_VERSION)" -m "v$(FLOW_VERSION)"
git push
git push --tags

SHASUM256.txt: $(FLOW_BINS)
shasum -a 256 $^ > $@

6 changes: 3 additions & 3 deletions SHASUM256.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
6d032a201afe002ea6067fcb51425ce9b7f2db57c230b779b8d74aa174e01b96 flow-linux64-v0.121.0/flow
20c9580a15c4663bc6c96d65e70aaa9cdd4e6b625647b712ffd9148d73b85792 flow-osx-v0.121.0/flow
3942124fd3d5f2e65fffe3c8138b5792f5f6549ec6b935e2ed487044bccb3390 flow-win64-v0.121.0/flow.exe
919affbef26b69b0a36bf23539f13464707a4a88397bb987a4d795c6de992a59 flow-linux64-v0.122.0/flow
6f139834fc481b78604946b4c8141fc3311d81669f5298f10bb50e3e9d99d11d flow-osx-v0.122.0/flow
c11dccc0527b32e56e7f22d32757e3ba236e3da237252f90fa785e527bc63aa8 flow-win64-v0.122.0/flow.exe
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "flow-bin",
"version": "0.121.0",
"version": "0.122.0",
"description": "Binary wrapper for Flow - A static type checker for JavaScript",
"license": "MIT",
"repository": "flowtype/flow-bin",