Skip to content
This repository has been archived by the owner on Jul 29, 2022. It is now read-only.

Commit

Permalink
Builder to bash to manage TAG env properly
Browse files Browse the repository at this point in the history
  • Loading branch information
psyduck787 committed May 19, 2016
1 parent 959e619 commit dc58547
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions builder
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/sh
#!/bin/bash

# Build wheels for all projects
export TAG=`if [ "$TRAVIS_BRANCH" == "master" ]; then echo "latest"; else echo $THUMBOR_VERSION; fi`
echo "TAG: $TAG"
Expand Down Expand Up @@ -28,4 +29,4 @@ echo "--> BUILDING apsl/remotecv"
docker build -f remotecv/Dockerfile -t apsl/remotecv remotecv/
echo "--> TAGGING apsl/remotecv:$TAG"
docker tag apsl/remotecv apsl/remotecv:$TAG
mv remotecv/wheelhouse wheelhouse
mv remotecv/wheelhouse wheelhouse

0 comments on commit dc58547

Please sign in to comment.