   .then =>
     Q.Promise (resolve, reject, notify) =>
       console.log "options3"
-      console.log options
       console.log "pwd:#{pwd()}"
       console.log 'git commit -m "'+ describe+'"'
       exec 'git commit -m "' + describe + '"', options, (code, output) ->

    Q.Promise (resolve, reject, notify) =>
      # ssh-add 清除客户端公钥缓存
      console.log "options5"
      console.log options
      console.log "pwd:#{pwd()}"
      console.log 'git push -u origin master'
      # 判断平台有效性windowk跨越度很大，fuck window
      if platform() is 'win32'
        exec 'ssh-agent -s', options, (code, output) ->
          try
            arr = output.split "#{EOL}"
            arr0 = arr[0].split '='
            arr1 = arr[1].split(';').split '='
            # 设置临时环境变量
            env[arr0[0]] = arr0[1]
            env[arr1[0]] = arr1[1]

  # .then =>
  #   Q.Promise (resolve, reject, notify) =>
  #     console.log "options5"
  #
  #     console.log "pwd:#{pwd()}"
  #     console.log 'git pull origin master'
  #     exec 'git pull origin master', options, (code, output) ->
