Skip to content

Commit dca09a0

Browse files
committed
Set version dynamically for Appveyor
1 parent 92a73ca commit dca09a0

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

VERSION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
4.2.7

appveyor.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ skip_tags: true
88
matrix:
99
fast_finish: true
1010
install:
11+
- ps: Update-AppveyorBuild -Version "$(Get-Content $env:appveyor_build_folder\VERSION).$env:appveyor_build_number"
1112
- ruby --version
1213
- gem --version
1314
- bundle install --without odbc

lib/active_record/connection_adapters/sqlserver/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module ConnectionAdapters
33
module SQLServer
44
module Version
55

6-
VERSION = '4.2.7'
6+
VERSION = File.read(File.expand_path("../../../../../VERSION", __FILE__)).chomp
77

88
end
99
end

0 commit comments

Comments
 (0)