File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -19,19 +19,18 @@ environment:
19
19
20
20
install :
21
21
- ps : Get-Command mvn
22
- - cmd : mvn -v
23
22
- ps : Get-Command nuget
24
23
- cmd : echo %JAVA_HOME%
25
24
26
25
build_script :
27
26
- ps : |
28
27
$buildNumber = 0
29
28
if($env:APPVEYOR_REPO_TAG -eq "true") {
30
- $buildNumber = ""
31
- Write-Host “Found git tag. Not setting package suffix "
29
+ $buildNumber = $env:APPVEYOR_REPO_TAG_NAME
30
+ Write-Host “Found git tag."
32
31
}
33
32
else {
34
- $buildNumber = "- $env:APPVEYOR_BUILD_NUMBER"
33
+ $buildNumber = "1.2. $env:APPVEYOR_BUILD_NUMBER"
35
34
Write-Host “git tag not found. Setting package suffix to '$buildNumber'"
36
35
}
37
36
.\package.ps1 -buildNumber $buildNumber
Original file line number Diff line number Diff line change 4
4
<modelVersion >4.0.0</modelVersion >
5
5
<groupId >com.microsoft.azure.functions</groupId >
6
6
<artifactId >azure-functions-java-worker</artifactId >
7
- <version >1.2.0 </version >
7
+ <version >1.2.1 </version >
8
8
<packaging >jar</packaging >
9
9
<parent >
10
10
<groupId >com.microsoft.maven</groupId >
Original file line number Diff line number Diff line change 4
4
<id >Microsoft.Azure.Functions.JavaWorker</id >
5
5
<title >Microsoft Azure Functions Java Worker</title >
6
6
<tags >java azure-functions azure</tags >
7
- <version >1.2.0 $version$</version >
7
+ <version >$version$</version >
8
8
<authors >Microsoft</authors >
9
9
<owners >Microsoft</owners >
10
10
<projectUrl >https://github.com/Azure/azure-functions-java-worker</projectUrl >
You can’t perform that action at this time.
0 commit comments