Skip to content

Commit 6e6f873

Browse files
authored
Merge branch 'master' into taz/fix-restore-target
2 parents 22f555e + 43406ef commit 6e6f873

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
language: minimal
23
matrix:
34
include:
45
- os: osx

script/cibuild

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@ set -e
66
# place with this version at the beginning of each test and many commands have
77
# conditional logic based on the remote version. Running the suite against
88
# different major versions ensures we're covering these conditional paths.
9-
REMOTE_VERSIONS="
10-
2.14.0
11-
2.16.0
12-
"
9+
REMOTE_VERSIONS="2.14.0 2.16.0"
1310

1411
# Enable verbose logging of ssh commands
1512
export GHE_VERBOSE_SSH=true

script/release

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,10 @@ def bump_version(new_version, min_version = nil, path = 'share/github-backup-uti
209209
content = File.read('test/testlib.sh')
210210
new_content = content.gsub(/GHE_TEST_REMOTE_VERSION:=[0-9]\.[0-9]+\.0/,"GHE_TEST_REMOTE_VERSION:=#{new_version}")
211211
File.open('test/testlib.sh', 'w') {|file| file.puts new_content }
212+
213+
content = File.read('script/cibuild')
214+
new_content = content.gsub(/^REMOTE_VERSIONS=.*$/, "REMOTE_VERSIONS=\"#{min_version} #{new_version}\"")
215+
File.open('script/cibuild', 'w') {|file| file.puts new_content }
212216
end
213217
end
214218

@@ -217,7 +221,7 @@ def push_release_branch(version)
217221
raise "Creating release branch failed:\n\n#{out}"
218222
end
219223

220-
unless (out = `git commit --quiet -m 'Bump version: #{version} [ci skip]' debian/changelog share/github-backup-utils/version bin/ghe-host-check test/testlib.sh`)
224+
unless (out = `git commit --quiet -m 'Bump version: #{version} [ci skip]' debian/changelog share/github-backup-utils/version bin/ghe-host-check test/testlib.sh script/cibuild`)
221225
raise "Error committing changelog and version:\n\n#{out}"
222226
end
223227

0 commit comments

Comments
 (0)