From b43e8922954c0c165c8bcf9b6c457a9b44bc6c4b Mon Sep 17 00:00:00 2001 From: Simon Larsen Date: Thu, 19 Dec 2024 20:14:30 +0000 Subject: [PATCH] Update GoReleaser to v6.1.0 and increment version in configuration --- .github/workflows/release.yml | 5 ++++- InfrastructureAgent/.goreleaser.yaml | 2 +- InfrastructureAgent/build-msi.sh | 3 ++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ca4e31f13d..40da790d2f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1730,10 +1730,13 @@ jobs: uses: actions/setup-go@v4 - name: Install GoReleaser - uses: goreleaser/goreleaser-action@v5 + uses: goreleaser/goreleaser-action@v6.1.0 with: install-only: true + - name: GoReleaser Version + run: goreleaser -v + # This tool is used to generate .rpm and .deb packages - name: Install NFPM run: go install github.com/goreleaser/nfpm/v2/cmd/nfpm@latest diff --git a/InfrastructureAgent/.goreleaser.yaml b/InfrastructureAgent/.goreleaser.yaml index f49f13e8d8..1dc609452d 100644 --- a/InfrastructureAgent/.goreleaser.yaml +++ b/InfrastructureAgent/.goreleaser.yaml @@ -6,7 +6,7 @@ # yaml-language-server: $schema=https://goreleaser.com/static/schema.json # vim: set ts=2 sw=2 tw=0 fo=cnqoj -version: 1 +version: 2 before: hooks: diff --git a/InfrastructureAgent/build-msi.sh b/InfrastructureAgent/build-msi.sh index 944e0469d0..b4656334b9 100644 --- a/InfrastructureAgent/build-msi.sh +++ b/InfrastructureAgent/build-msi.sh @@ -2,6 +2,7 @@ # sudo apt update # sudo apt install -y msitools +# sudo apt-get install wixl # Exit script on any error @@ -31,7 +32,7 @@ mkdir -p "$OUTPUT_DIR" # Check if wixl is installed if ! command -v wixl &> /dev/null; then - echo "Error: wixl is not installed. Please install it using 'sudo apt install -y msitools'." + echo "Error: wixl is not installed. Please install it using 'sudo apt install -y msitools wixl'." exit 1 fi