Skip to content

Commit ca9c167

Browse files
zarroboogsAniLeo
authored andcommitted
minor syntax changes
1 parent ede7603 commit ca9c167

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

appveyor.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ cache:
1717
install:
1818
- ps: | # set env vars for versioning
1919
$commDate = $env:APPVEYOR_REPO_COMMIT_TIMESTAMP.Substring(0,10)
20-
$commSha = $env:APPVEYOR_REPO_COMMIT.Substring(0,8)
20+
$commHash = $env:APPVEYOR_REPO_COMMIT.Substring(0,8)
2121
$commTag = $(git describe --tags $(git rev-list --tags --max-count=1))
2222
2323
$env:AVVER = "{0}-{1}" -f $commTag.TrimStart("v"), $env:APPVEYOR_BUILD_NUMBER
24-
$env:BUILD = "rpcs3-{0}-{1}-{2}_win64.7z" -f $commTag, $commDate, $commSha
24+
$env:RPCS3 = "rpcs3-{0}-{1}-{2}_win64.7z" -f $commTag, $commDate, $commHash
2525
2626
- ps: | # used for experimental build warnings for pr builds
2727
$env:BRANCH = "{0}/{1}/#{2}" -f $env:APPVEYOR_REPO_NAME, `
@@ -75,20 +75,20 @@ after_build:
7575
copy-item compat_database.dat .\bin\GuiConfigs\compat_database.dat
7676
7777
- ps: | # package artifacts
78-
7z a -m0=LZMA2 -mx9 $env:BUILD .\bin\*
78+
7z a -m0=LZMA2 -mx9 $env:RPCS3 .\bin\*
7979
7z a -m0=LZMA2 -mx9 openssl_win64.7z C:\OpenSSL-Win64\bin\libeay32.dll `
8080
C:\OpenSSL-Win64\bin\ssleay32.dll
8181
8282
- ps: | # generate sha256 hashes
83-
(Get-FileHash $env:BUILD -Algorithm SHA256).Hash | Out-File -encoding ASCII "$($env:BUILD).sha256"
84-
(Get-FileHash openssl_win64.7z -Algorithm SHA256).Hash | Out-File -encoding ASCII "openssl_win64.7z.sha256"
83+
(get-filehash $env:RPCS3 -algorithm SHA256).Hash > "$env:RPCS3.sha256"
84+
(get-filehash openssl_win64.7z -algorithm SHA256).Hash > "openssl_win64.7z.sha256"
8585
8686
test: off
8787

8888
artifacts:
89-
- path: $(BUILD)
89+
- path: $(RPCS3)
9090
name: rpcs3
91-
- path: $(BUILD).sha256
91+
- path: $(RPCS3).sha256
9292
name: rpcs3 sha256 hash
9393
- path: openssl_win64.7z
9494
name: openssl

0 commit comments

Comments
 (0)