Skip to content

Commit 13a5352

Browse files
authored
CI: move windows build scripts to ./build/windows (#4145)
1 parent 19d79a8 commit 13a5352

20 files changed

+20
-20
lines changed

.github/workflows/ci-windows-build-msi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ on:
99
- master
1010
- releases/**
1111
paths:
12-
- windows/installer/*.wxs
12+
- build/windows/installer/*.wxs
1313
- .github/workflows/ci-windows-build-msi.yml
1414
pull_request:
1515
branches:
1616
- master
1717
- releases/**
1818
paths:
19-
- windows/installer/*.wxs
19+
- build/windows/installer/*.wxs
2020
- .github/workflows/ci-windows-build-msi.yml
2121

2222
jobs:

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -427,11 +427,11 @@ release: check_release build package ## Build a release tarball
427427

428428
.PHONY: windows_installer
429429
windows_installer: build ## Windows - build the installer
430-
@.\make_installer.ps1 -version $(BUILD_VERSION)
430+
@.\build\windows\make_installer.ps1 -version $(BUILD_VERSION)
431431

432432
.PHONY: chocolatey
433433
chocolatey: windows_installer ## Windows - build the chocolatey package
434-
@.\make_chocolatey.ps1 -version $(BUILD_VERSION)
434+
@.\build\windows\make_chocolatey.ps1 -version $(BUILD_VERSION)
435435

436436
# Include test/bats.mk only if it exists
437437
# to allow building without a test/ directory

azure-pipelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,11 @@ stages:
114114
--azure-key-vault-url "$(KeyVaultUrl)"
115115
displayName: "Sign crowdsec binaries"
116116
- pwsh: |
117-
.\make_installer.ps1 -version '$(BuildVersion)'
117+
.\build\windows\make_installer.ps1 -version '$(BuildVersion)'
118118
displayName: "Build Crowdsec MSI"
119119
name: BuildMSI
120120
- pwsh: |
121-
.\make_chocolatey.ps1 -version '$(BuildVersion)'
121+
.\build\windows\make_chocolatey.ps1 -version '$(BuildVersion)'
122122
displayName: "Build Chocolatey nupkg"
123123
- pwsh: |
124124
sign code azure-key-vault `
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

windows/Chocolatey/crowdsec/tools/chocolateybeforemodify.ps1 renamed to build/windows/Chocolatey/crowdsec/tools/chocolateybeforemodify.ps1

File renamed without changes.

windows/Chocolatey/crowdsec/tools/chocolateyinstall.ps1 renamed to build/windows/Chocolatey/crowdsec/tools/chocolateyinstall.ps1

File renamed without changes.

windows/Chocolatey/crowdsec/tools/chocolateyuninstall.ps1 renamed to build/windows/Chocolatey/crowdsec/tools/chocolateyuninstall.ps1

File renamed without changes.

0 commit comments

Comments
 (0)