File tree Expand file tree Collapse file tree 5 files changed +16
-10
lines changed
Worker.Extensions.Sql/src Expand file tree Collapse file tree 5 files changed +16
-10
lines changed Original file line number Diff line number Diff line change 7
7
<Product >SQL Binding Worker</Product >
8
8
<!-- Version information-->
9
9
<VersionPrefix >99.99.99</VersionPrefix >
10
+ <SupportedVersion >1.*-*</SupportedVersion >
10
11
<PackageId >Microsoft.Azure.Functions.Worker.Extensions.Sql</PackageId >
11
12
<PackageTags >Microsoft Azure WebJobs AzureFunctions Isolated DotnetIsolated SQL AzureSQL Worker</PackageTags >
12
13
<GenerateAssemblyInfo >true</GenerateAssemblyInfo >
13
14
<IsPackable >true</IsPackable >
14
- <GeneratePackageOnBuild >true</GeneratePackageOnBuild >
15
+ <GeneratePackageOnBuild >true</GeneratePackageOnBuild >
15
16
</PropertyGroup >
16
17
17
18
<ItemGroup >
22
23
<None Include =" .\README.md" Pack =" true" PackagePath =" " />
23
24
</ItemGroup >
24
25
25
- </Project >
26
+ <ItemGroup >
27
+ <AssemblyAttribute Include =" Microsoft.Azure.Functions.Worker.Extensions.Abstractions.ExtensionInformationAttribute" >
28
+ <_Parameter1 >Microsoft.Azure.WebJobs.Extensions.Sql</_Parameter1 >
29
+ <_Parameter2 >$(SupportedVersion)</_Parameter2 >
30
+ </AssemblyAttribute >
31
+ </ItemGroup >
32
+ </Project >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -50,4 +50,5 @@ stages:
50
50
configuration : ' $(configuration)'
51
51
nugetVersion : ' 1.0.0-test'
52
52
binariesVersion : ' 1.0.0'
53
- testFilter : ' $(testFilter)'
53
+ testFilter : ' $(testFilter)'
54
+ supportedVersion : ' 1.*-*'
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ variables:
19
19
versionPatch : $[counter(variables['versionMajorMinor'], 0)] # This will reset when we bump minor version
20
20
binariesVersion : ' $(versionMajor).$(versionMinor).$(versionPatch)'
21
21
nugetVersion : ' $(binariesVersion)-preview'
22
+ supportedVersion : ' $(versionMajor).*-*'
22
23
LGTM.UploadSnapshot : true
23
24
Semmle.SkipAnalysis : true
24
25
@@ -60,6 +61,7 @@ stages:
60
61
nugetVersion : ' $(nugetVersion)'
61
62
binariesVersion : ' $(binariesVersion)'
62
63
testFilter : ' $(testFilter)'
64
+ supportedVersion : ' $(supportedVersion)'
63
65
64
66
- job : BuildTestPublishLinux
65
67
displayName : ' Build, Test and Publish on linux'
@@ -79,6 +81,7 @@ stages:
79
81
configuration : ' $(configuration)'
80
82
nugetVersion : ' $(nugetVersion)'
81
83
binariesVersion : ' $(binariesVersion)'
84
+ supportedVersion : ' $(supportedVersion)'
82
85
testFilter : ' '
83
86
testServer : ' '
84
87
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ parameters:
5
5
binariesVersion : ' '
6
6
testFilter : ' '
7
7
testServer : ' '
8
+ supportedVersion : ' '
8
9
9
10
steps :
10
11
- task : UseDotNet@2
80
81
inputs :
81
82
command : build
82
83
projects : ' ${{ parameters.solution }}'
83
- arguments : ' --configuration ${{ parameters.configuration }} -p:GeneratePackageOnBuild=false -p:Version=${{ parameters.binariesVersion }}'
84
+ arguments : ' --configuration ${{ parameters.configuration }} -p:GeneratePackageOnBuild=false -p:Version=${{ parameters.binariesVersion }} -p:SupportedVersion=${{ parameters.supportedVersion }} '
84
85
85
86
- task : CopyFiles@2
86
87
displayName : ' Copy Sql extension dll to Azure Functions extension bundle'
You can’t perform that action at this time.
0 commit comments