File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,8 @@ namespace :unified_release do
59
59
60
60
desc 'Generate API code'
61
61
task :codegen do
62
- version = YAML . load_file ( File . expand_path ( __dir__ + '/../.ci/test-matrix.yml' ) ) [ 'STACK_VERSION' ] . first
62
+ version = YAML . load_file ( File . expand_path ( __dir__ + '/../.buildkite/pipeline.yml' ) ) [ 'steps' ] . first [ 'env' ] [ 'STACK_VERSION' ]
63
+
63
64
Rake ::Task [ 'elasticsearch:download_artifacts' ] . invoke ( version )
64
65
sh "cd #{ CURRENT_PATH . join ( 'elasticsearch-api/utils' ) } \
65
66
&& BUNDLE_GEMFILE=`pwd`/Gemfile \
@@ -109,7 +110,6 @@ namespace :unified_release do
109
110
110
111
desc <<-DESC
111
112
Bump the version in test matrixes:
112
- - .ci/test-matrix.yml
113
113
- .github/workflows
114
114
- .buildkite/pipeline.yml
115
115
@@ -121,7 +121,6 @@ namespace :unified_release do
121
121
abort ( '[!] Required argument [version] missing' ) unless ( version = args [ :version ] )
122
122
123
123
files = [
124
- '.ci/test-matrix.yml' ,
125
124
'.github/workflows/main.yml' ,
126
125
'.github/workflows/unified-release.yml' ,
127
126
'.buildkite/pipeline.yml'
You can’t perform that action at this time.
0 commit comments