git-pr-release 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +4 -0
- data/bin/git-pr-release +2 -2
- data/git-pr-release.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 38e4709c50ec6cda0bea24aceabcdf60c262b66b42e3c3b0739e4c730eb90754
|
4
|
+
data.tar.gz: 5a8b4049867b425bd37125fee9e708e6dc51d6664e8b17fb7e691a374197acdc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 056f6501fba26c75b7eb05eedb9d4661623df47393777c654c5519706e4f2677df2b40c48aafeb9628e0d70fd0559ba45400a664cc14a3ca810955784b381ab9
|
7
|
+
data.tar.gz: def915b06a2613a097f90baa0484dda876fae66048445c99171d446852cd659599a9bb09ede5aa71fd4f9a5f13d4ba5dfc705e2bce6c11955167e61aa2dcadca
|
data/README.md
CHANGED
@@ -36,6 +36,8 @@ You can specify this value by `GIT_PR_RELEASE_TOKEN` environment variable.
|
|
36
36
|
|
37
37
|
The branch name that is deployed in production environment.
|
38
38
|
|
39
|
+
You can specify this value by `GIT_PR_RELEASE_BRANCH_PRODUCTION` environment variable.
|
40
|
+
|
39
41
|
Default value: `master`.
|
40
42
|
|
41
43
|
### `pr-release.branch.staging`
|
@@ -43,6 +45,8 @@ Default value: `master`.
|
|
43
45
|
The branch name that the feature branches are merged into and is going to be
|
44
46
|
merged into the "production" branch.
|
45
47
|
|
48
|
+
You can specify this value by `GIT_PR_RELEASE_BRANCH_STAGING` environment variable.
|
49
|
+
|
46
50
|
Default value: `staging`.
|
47
51
|
|
48
52
|
### `pr-release.template`
|
data/bin/git-pr-release
CHANGED
@@ -272,8 +272,8 @@ end.parse!
|
|
272
272
|
|
273
273
|
### Set up configuration
|
274
274
|
|
275
|
-
production_branch
|
276
|
-
staging_branch
|
275
|
+
production_branch = ENV.fetch('GIT_PR_RELEASE_BRANCH_PRODUCTION') { git_config('branch.production') } || 'master'
|
276
|
+
staging_branch = ENV.fetch('GIT_PR_RELEASE_BRANCH_STAGING') { git_config('branch.staging') } || 'staging'
|
277
277
|
|
278
278
|
say "Repository: #{repository}", :debug
|
279
279
|
say "Production branch: #{production_branch}", :debug
|
data/git-pr-release.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "git-pr-release"
|
7
|
-
spec.version = '0.
|
7
|
+
spec.version = '0.5.0'
|
8
8
|
spec.authors = ["motemen"]
|
9
9
|
spec.email = ["motemen@gmail.com"]
|
10
10
|
spec.summary = 'Creates a release pull request'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: git-pr-release
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- motemen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: octokit
|
@@ -102,7 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
102
102
|
version: '0'
|
103
103
|
requirements: []
|
104
104
|
rubyforge_project:
|
105
|
-
rubygems_version: 2.6
|
105
|
+
rubygems_version: 2.7.6
|
106
106
|
signing_key:
|
107
107
|
specification_version: 4
|
108
108
|
summary: Creates a release pull request
|