shaman_cli 2.5.0 → 2.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7ae5fbc8990d63d2d83a443e3b26192fc826e84574f5fb658e8c93670939c3c8
4
- data.tar.gz: abfa53a6dca2f5dace8f9218b843036498b9a3dc16f864961ae868aeb085aeba
3
+ metadata.gz: dcc5d9724dec586dde73c0d5702293fd0730e65b8592b0d827e36016861a9573
4
+ data.tar.gz: 0d57f6a54483225053b164473597aad7166623c838047abd51c4ffbaf9ee554e
5
5
  SHA512:
6
- metadata.gz: abd80e56145854fd258a88b6aaf44deaf77771c8729de48768a3a75cd63222fcd516609932c982d50234686ea1eafd1180bcff84c90fc69ddb3dfe10f2396b50
7
- data.tar.gz: e89695127883868bb8680e022dcc89fecb8be1252ef86069e94794dab70b1fa01562cbea555ab96e9cba736c2c9b60ec3e82fad109c7ff0b398585382e5b1996
6
+ metadata.gz: 814913bd478b5295fc18a8f39dc9cc27b749ffb5cdf7508e8b918f61dbbf3a62c6f9fb95d3732cddb40c2ac730c6085be9f0cc52fe5e685ef02a0064966a4760
7
+ data.tar.gz: d86a2fb5d3dd13d79780201eecd3db1f8260d9152b3025a2f1a739d7e5f7132ea43c96faca3c893a697d66658c494e6942409ea6ea1e775492f6bee5e0181782
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Shaman
4
4
 
5
- Cli for integrating with Tryoutapps.com
5
+ CLI for deploying builds to Tryoutapps.com
6
6
 
7
7
  ## Installation
8
8
 
@@ -20,6 +20,7 @@ Export your Tryoutapps tenant URL to the environement variable `SERVER_URL`
20
20
 
21
21
 
22
22
  ## Usage
23
+ First make sure that you have created your `project` and the desired `environment` on you Tryoutapps tenant. This will allow you to see all your tenant independent projects in the shaman init prompt.
23
24
 
24
25
  ### Init
25
26
 
@@ -57,13 +58,13 @@ This will deploy your relese file to labs with with configs from .shaman.yml
57
58
  Deploy a release to specified environment
58
59
 
59
60
  Options:
60
- -m, --message MESSAGE Changelog message
61
- -f, --file FILE Release path
62
- -t, --token TOKEN Use different user token
63
- -c, --config FILE Use different config file
64
- -g, --git Use git for message (overrides any manual settings!)
65
- -C, --commit COMMIT which commit to use instead of HEAD
66
-
61
+ -m, --message MESSAGE Changelog message
62
+ -f, --file FILE Release path
63
+ -t, --token TOKEN Use different user token
64
+ -c, --config FILE Use different config file
65
+ -g, --git Use git for message (overrides any manual settings!)
66
+ -C, --commit COMMIT Which commit to use instead of HEAD
67
+ -n, --release_name RELEASE_NAME Release name (ZIP platform only)
67
68
 
68
69
  ## License
69
70
 
data/exe/shaman CHANGED
@@ -31,8 +31,9 @@ command :deploy do |c|
31
31
  c.option '-t', '--token TOKEN', String, 'Use different user token'
32
32
  c.option '-c', '--config FILE', String, 'Use different config file'
33
33
  c.option '-g', '--git', 'Use git for message (overrides any manual settings!)'
34
- c.option '-C', '--commit COMMIT', String, 'which commit to use instead of HEAD'
34
+ c.option '-C', '--commit COMMIT', String, 'Which commit to use instead of HEAD'
35
35
  c.option '-M', '--minimum_version', 'Set release as minimum version'
36
+ c.option '-n', '--release_name RELEASE_NAME', String, 'Release name (ZIP platform only)'
36
37
  c.action do |args, options|
37
38
  begin
38
39
  Shaman::Deploy.new(args, options).deploy
@@ -26,7 +26,8 @@ module Shaman
26
26
  release: HTTP::FormData::File.new(options.file || config[:release_path]),
27
27
  message: message || '',
28
28
  token: options.token || ENV['SHAMAN_TOKEN'],
29
- minimum_version: options.minimum_version || false
29
+ minimum_version: options.minimum_version || false,
30
+ name: options.release_name || ''
30
31
  }
31
32
  end
32
33
 
@@ -5,7 +5,7 @@ module Shaman
5
5
 
6
6
  def self.check
7
7
  return unless ENV['SHAMAN_TOKEN'].nil?
8
- error! "SHAMAN_TOKEN not defined. Please find it at #{LABS_URL}/me"
8
+ error! "SHAMAN_TOKEN not defined. Please find it at #{LABS_URL}/users/me"
9
9
  end
10
10
 
11
11
  def self.init(options)
@@ -1,3 +1,3 @@
1
1
  module Shaman
2
- VERSION = '2.5.0'.freeze
2
+ VERSION = '2.6'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shaman_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.0
4
+ version: '2.6'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stjepan Hadjic
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-01-28 00:00:00.000000000 Z
11
+ date: 2019-07-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler