Skip to content

Commit

Permalink
ci: fix language server asset filename version number. TEemporary cha…
Browse files Browse the repository at this point in the history
…nges to retry vscode extension publish of v1.11.0 for linux-x64 and osx-arm64
  • Loading branch information
chrissimon-au committed Mar 12, 2024
1 parent 02994ee commit a2539d0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/ci/common.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ let ghError msg =
Error(msg)

let appZipFileName app (ctx: Internal.StageContext) =
$"{app.Name}-{ctx.GetCmdArg(args.dotnetRuntime)}-{ctx.GetCmdArg(args.release)}.zip"
$"{app.Name}-{ctx.GetCmdArg(args.dotnetRuntime)}-{versionNumber (ctx.GetCmdArg(args.release))}.zip"

let appZipPath app (ctx: Internal.StageContext) =
System.IO.Path.GetFullPath(appZipFileName app ctx)
Expand Down
4 changes: 1 addition & 3 deletions src/language-server/build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,7 @@ let zipAndUploadAsset app =
workingDir app.Path
whenCmdArg args.release

echo
"Skipping upload, as it was uploaded on https://github.com/dev-cycles/contextive/actions/runs/8232357150"
//run (fun ctx -> $"gh release upload {ctx.GetCmdArg(args.release)} {appZipPath app ctx}")
run (fun ctx -> $"gh release upload {ctx.GetCmdArg(args.release)} {appZipPath app ctx}")
}
}
}
Expand Down
5 changes: 5 additions & 0 deletions src/vscode/build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,11 @@ pipeline "Contextive VsCode Extension" {
workingDir "vscode/contextive"
whenCmdArg args.release
whenCmdArg args.vscePlatform
// Temporary to retry intermittent issues with github assets upload/download on https://github.com/dev-cycles/contextive/actions/runs/8240804079/job/22536988921
whenCmd {
name args.dotnetRuntime.Name.Names.Head
acceptValues [ "linux-x64"; "osx-arm64" ]
}

stage "Package" {
run (fun ctx ->
Expand Down

0 comments on commit a2539d0

Please sign in to comment.