Skip to content

Commit fe7bae3

Browse files
committed
Merge winget release package into github release.
1 parent fe1816f commit fe7bae3

2 files changed

Lines changed: 1 addition & 17 deletions

File tree

build/azure-pipeline/workflow-common.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -336,12 +336,6 @@ stages:
336336
env:
337337
BUILD_VERSION: $(Build.Version)
338338

339-
- script: just prepare-winget-release
340-
displayName: Prepare winget release
341-
workingDirectory: '$(System.DefaultWorkingDirectory)/r12f.divoom'
342-
env:
343-
BUILD_VERSION: $(Build.Version)
344-
345339
- task: CopyFiles@2
346340
displayName: Copy packages to staging folder
347341
inputs:

build/post-build/post-build.justfile

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ RELEASE_TEMPLATE_PARAMETER_FOLDER := RELEASE_FOLDER + "/template-parameters"
2020
RELEASE_CRATES_FOLDER := RELEASE_FOLDER + "/crates"
2121
RELEASE_NUGET_FOLDER := RELEASE_FOLDER + "/nuget"
2222
RELEASE_GITHUB_FOLDER := RELEASE_FOLDER + "/github"
23-
RELEASE_WINGET_FOLDER := RELEASE_FOLDER + "/winget"
2423
RELEASE_CHOCO_FOLDER := RELEASE_FOLDER + "/choco"
2524

2625
#
@@ -105,6 +104,7 @@ prepare-github-release:
105104
@Write-Host "Copy all tarballs from each build folder ..."
106105
Get-ChildItem "./{{BUILD_FOLDER_PREFIX}}*/packages/*.zip" -Recurse | Copy-Item -Destination "{{RELEASE_GITHUB_FOLDER}}" -PassThru
107106
Get-ChildItem "./{{BUILD_FOLDER_PREFIX}}*/packages/*.tar.gz" -Recurse | Copy-Item -Destination "{{RELEASE_GITHUB_FOLDER}}" -PassThru
107+
Get-ChildItem "./{{BUILD_FOLDER_PREFIX}}*/packages/*.msix" -Recurse | Copy-Item -Destination "{{RELEASE_GITHUB_FOLDER}}" -PassThru
108108

109109
@Write-Host "Copy symbol package ..."
110110
Copy-Item -Path "{{INTERMEDIATE_SYMBOL_PACKAGE_FOLDER}}/divoom.symbols.{{BUILD_VERSION}}.zip" -Destination "{{RELEASE_GITHUB_FOLDER}}" -PassThru
@@ -119,16 +119,6 @@ prepare-nuget-release:
119119
@Write-Host "Copy all nuget packages from each build folder ..."
120120
Get-ChildItem "./{{BUILD_FOLDER_PREFIX}}*/packages/*.nupkg" -Recurse | Copy-Item -Destination "{{RELEASE_NUGET_FOLDER}}" -PassThru
121121

122-
#
123-
# Prepare packages for winget releases
124-
#
125-
prepare-winget-release:
126-
if (Test-Path "{{RELEASE_WINGET_FOLDER}}") { Remove-Item -Path "{{RELEASE_WINGET_FOLDER}}" -Recurse -Force }
127-
New-Item -ItemType Directory -Path "{{RELEASE_WINGET_FOLDER}}" -Force | Out-Null
128-
129-
@Write-Host "Copy all tarballs from each build folder ..."
130-
Get-ChildItem "./{{BUILD_FOLDER_PREFIX}}*/packages/*.msix" -Recurse | Copy-Item -Destination "{{RELEASE_WINGET_FOLDER}}" -PassThru
131-
132122
#
133123
# Utility tasks
134124
#

0 commit comments

Comments
 (0)