change target repo and avoid abs path

This commit is contained in:
qhy040404
2023-12-08 10:01:34 +08:00
parent e090d7e04b
commit bde5122060
2 changed files with 3 additions and 3 deletions

View File

@@ -77,7 +77,7 @@ steps:
- task: GitHubRelease@1
inputs:
gitHubConnection: 'github.com_Masterain'
repositoryName: 'DGP-Studio/Snap.Hutao'
repositoryName: 'DGP-Automation/Hutao-Auto-Release'
action: 'create'
target: '$(Build.SourceVersion)'
tagSource: 'userSpecifiedTag'

View File

@@ -96,7 +96,7 @@ Task("Build MSIX")
.Does(() =>
{
var p = StartProcess(
"C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.22621.0\\x64\\makeappx.exe",
"makeappx.exe",
new ProcessSettings
{
Arguments = "pack /d " + binPath + " /p " + System.IO.Path.Combine(outputPath, $"Snap.Hutao.Alpha-{version}.msix")
@@ -113,7 +113,7 @@ Task("Sign MSIX")
.Does(() =>
{
var p = StartProcess(
"C:\\Program Files (x86)\\Windows Kits\\10\\bin\\10.0.22621.0\\x64\\signtool.exe",
"signtool.exe",
new ProcessSettings
{
Arguments = "sign /debug /v /a /fd SHA256 /f " + System.IO.Path.Combine(AzurePipelines.Environment.Agent.HomeDirectory.FullPath, "_work", "_temp", "DGP_Studio_CI.pfx") + " /p " + pw + " " + System.IO.Path.Combine(outputPath, $"Snap.Hutao.Alpha-{version}.msix")