Commit 965b2b7e8b6bb0adff46e62e0e526a2b056de850

Authored by Jacob Vosmaer
1 parent 10b63aaf

Fix name clash between release.sh / `make release`

Showing 3 changed files with 3 additions and 2 deletions   Show diff stats
CHANGELOG
... ... @@ -5,6 +5,7 @@
5 5 - Add a gitlab.yml conversion support script
6 6 - Correct default gravatar configuration (#112) (Julien Pivotto)
7 7 - Update Ruby to 2.0.0p451
  8 +- Fix name clash between release.sh and `make release`
8 9  
9 10 6.8.1
10 11 - Use gitlab-rails 6.8.1
... ...
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
... ...