File tree Expand file tree Collapse file tree 4 files changed +5
-6
lines changed
Expand file tree Collapse file tree 4 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 11# # concourse task for releasing a package on chocolatey
2+ $env: Path = [System.Environment ]::GetEnvironmentVariable(" Path" , " Machine" )
3+ $ErrorActionPreference = " Stop"
24
35ls # debugging
46
57# read version from file
68$version = Get-Content .\gp- version\version
79
8- Expand-Archive .\phlow- artifact- windows- s3\git- phlow-* .zip - DestinationPath .\phlow- artifact- windows- s3
9-
1010# list artifact for debugging purpose
1111ls .\phlow- artifact- windows- s3
1212
13-
1413mv phlow- artifact- windows- s3/ git-phlow.exe git- phlow/ ci/ chocolatey/ tools/
1514
1615cd git- phlow/ ci/ chocolatey
@@ -29,4 +28,4 @@ choco pack
2928
3029choco push -- api- key $token
3130
32- exit $lastexitcode
31+ exit $LastExitCode
Original file line number Diff line number Diff line change @@ -12,6 +12,5 @@ params:
1212run :
1313 path : powershell.exe
1414 args :
15- - -File
1615 - ' .\git-phlow\ci\chocolatey\chocolatey.ps1'
1716
Original file line number Diff line number Diff line change @@ -164,6 +164,8 @@ jobs:
164164 - get : git-phlow
165165 - get : phlow-artifact-windows-s3
166166 passed : [takeoff]
167+ params :
168+ unpack : true
167169 - get : gp-version
168170 passed : [takeoff]
169171 trigger : true
Original file line number Diff line number Diff line change 77run :
88 path : powershell.exe
99 args :
10- - -File
1110 - ' .\git-phlow\ci\windows\go-test-windows.ps1'
You can’t perform that action at this time.
0 commit comments