Skip to content

Commit 3e467eb

Browse files
committed
[ci] Fix update of latest chocolatey build
1 parent 063bde3 commit 3e467eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ jobs:
320320
# Chocolatey packages have to be named with version number,
321321
# so let's use web redirection to keep the original file name.
322322
[[ "$HXBUILDS_S3ADDR" =~ s3://([^/]+)(.*) ]] && HXBUILDS_S3BUCKET="${BASH_REMATCH[1]}" && HXBUILDS_S3PATH="${BASH_REMATCH[2]}"
323-
[[ `echo chocolatey/*.nupkg` =~ Chocolatey/(.+) ]] && FILE_NAME="${BASH_REMATCH[1]}"
323+
FILE_NAME=$(echo neko.*.nupkg)
324324
aws s3 cp $HXBUILDS_S3ADDR/neko/windows64-choco/${FILE_NAME} $HXBUILDS_S3ADDR/neko/windows64-choco/neko_latest.nupkg --acl public-read --website-redirect "${HXBUILDS_S3ADDR}/neko/windows64-choco/${FILE_NAME}"
325325
326326
deploy-ppa:

0 commit comments

Comments
 (0)