Skip to content

Commit

Permalink
ci: remove attempt to apply upload asset label to rule out issues wit…
Browse files Browse the repository at this point in the history
…h asset path identification
  • Loading branch information
chrissimon-au committed Mar 11, 2024
1 parent 0246d16 commit 2988ee2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
3 changes: 1 addition & 2 deletions src/intellij/build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ pipeline "Contextive IntelliJ Plugin" {
stage "Upload Asset" {
workingDir distPath

run (fun ctx ->
$"gh release upload {ctx.GetCmdArg(args.release)} '{intelliJAssetFileName ctx}#{intelliJAssetLabel ctx}'")
run (fun ctx -> $"gh release upload {ctx.GetCmdArg(args.release)} {intelliJAssetFileName ctx}")
}

stage "Publish Package" { run (bashCmd "./gradlew publishPlugin") }
Expand Down
5 changes: 2 additions & 3 deletions src/language-server/build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ open Fun.Build
open Common

let languageServerLabel (ctx: Internal.StageContext) =
$"Contextive Language Server {ctx.GetCmdArg(args.release)} ({ctx.GetCmdArg(args.vscePlatform)})"
$"Contextive Language Server {ctx.GetCmdArg(args.release)} ({ctx.GetCmdArg(args.dotnetRuntime)})"


let dotnetTest app =
Expand Down Expand Up @@ -93,8 +93,7 @@ let zipAndUploadAsset app =

whenCmdArg args.release

run (fun ctx ->
$"gh release upload {ctx.GetCmdArg(args.release)} '{appZipPath app ctx}#{languageServerLabel ctx}'")
run (fun ctx -> $"gh release upload {ctx.GetCmdArg(args.release)} {appZipPath app ctx}")
}
}
}
Expand Down
9 changes: 6 additions & 3 deletions src/vscode/build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,14 @@ pipeline "Contextive VsCode Extension" {
}

stage "Upload Asset" {
run (fun ctx ->
$"gh release upload {ctx.GetCmdArg(args.release)} '{vsCodeAssetFileName ctx}#{vsCodeAssetLabel ctx}'")
workingDir distPath
run (fun ctx -> $"gh release upload {ctx.GetCmdArg(args.release)} {vsCodeAssetFileName ctx}")
}

stage "Publish to Marketplace" { run (fun ctx -> $"npx vsce publish --packagePath {vsCodeAssetFileName ctx}") }
stage "Publish to Marketplace" {
workingDir distPath
run (fun ctx -> $"npx vsce publish --packagePath {vsCodeAssetFileName ctx}")
}
}

runIfOnlySpecified false
Expand Down
2 changes: 1 addition & 1 deletion src/vscode/contextive/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2988ee2

Please sign in to comment.