This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==> Downloading http://nginx.org/download/nginx-1.0.6.tar.gz | |
File already downloaded in /Users/sean/Library/Caches/Homebrew | |
/usr/bin/tar xf /Users/sean/Library/Caches/Homebrew/nginx-1.0.6.tar.gz | |
==> Patching | |
/usr/bin/patch -f -p1 -i 001-homebrew.diff | |
patching file auto/lib/pcre/conf | |
patching file conf/nginx.conf | |
==> ./configure --prefix=/Users/sean/homebrew/Cellar/nginx/1.0.6 --with-http_ssl_module --with-pcre --conf-path=/Users/sean/homebrew/etc/nginx/nginx.conf --pid-path=/Users/sean/homebrew/var/run/nginx.pid --lock-path=/Users/sean/homebrew/var/nginx/nginx.lock | |
./configure --prefix=/Users/sean/homebrew/Cellar/nginx/1.0.6 --with-http_ssl_module --with-pcre --conf-path=/Users/sean/homebrew/etc/nginx/nginx.conf --pid-path=/Users/sean/homebrew/var/run/nginx.pid --lock-path=/Users/sean/homebrew/var/nginx/nginx.lock | |
checking for OS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'date' | |
require 'git' | |
class Releaser | |
attr_accessor :app_path, :repo, :skip_deploy, :version, :version_file | |
def initialize(app_path, version, version_file, skip_deploy=false) | |
raise ArgumentError.new('First argument must be version number in Major, Minor, Patch format, ex. 11.222.324') unless version.valid? |