Commit 965b2b7e8b6bb0adff46e62e0e526a2b056de850
1 parent
10b63aaf
Exists in
master
and in
11 other branches
Fix name clash between release.sh / `make release`
Showing
3 changed files
with
3 additions
and
2 deletions
Show diff stats
CHANGELOG
Makefile
... | ... | @@ -7,7 +7,7 @@ PLATFORM_DIR:=$(shell ruby -rjson -e 'puts JSON.parse(`bin/ohai`).values_at("pla |
7 | 7 | build: |
8 | 8 | OMNIBUS_APPEND_TIMESTAMP=0 bin/omnibus build project ${PROJECT} |
9 | 9 | |
10 | -release: no_changes on_tag purge build move_to_platform_dir sync | |
10 | +do_release: no_changes on_tag purge build move_to_platform_dir sync | |
11 | 11 | |
12 | 12 | no_changes: |
13 | 13 | git diff --quiet HEAD | ... | ... |
release.sh
... | ... | @@ -4,7 +4,7 @@ |
4 | 4 | build="$(date '+%s')-$$" |
5 | 5 | |
6 | 6 | # Do the build and capture its output in a .log file |
7 | -make release 2>&1 | tee -a ${build}.log | |
7 | +make do_release 2>&1 | tee -a ${build}.log | |
8 | 8 | |
9 | 9 | # Check the exit status of `make`, not `tee` |
10 | 10 | if [[ ${PIPESTATUS[0]} -eq 0 ]]; then | ... | ... |