shaman_cli 2.5.0 → 2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +9 -8
- data/exe/shaman +2 -1
- data/lib/shaman/deploy.rb +2 -1
- data/lib/shaman/init.rb +1 -1
- data/lib/shaman/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dcc5d9724dec586dde73c0d5702293fd0730e65b8592b0d827e36016861a9573
|
|
4
|
+
data.tar.gz: 0d57f6a54483225053b164473597aad7166623c838047abd51c4ffbaf9ee554e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
|
|
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
|
|
61
|
-
-f, --file FILE
|
|
62
|
-
-t, --token TOKEN
|
|
63
|
-
-c, --config FILE
|
|
64
|
-
-g, --git
|
|
65
|
-
-C, --commit COMMIT
|
|
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, '
|
|
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
|
data/lib/shaman/deploy.rb
CHANGED
|
@@ -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
|
|
data/lib/shaman/init.rb
CHANGED
data/lib/shaman/version.rb
CHANGED
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.
|
|
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-
|
|
11
|
+
date: 2019-07-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|