Update GoReleaser to v6.1.0 and increment version in configuration

This commit is contained in:
Simon Larsen 2024-12-19 20:14:30 +00:00
parent 663f151051
commit b43e892295
No known key found for this signature in database
GPG key ID: 96C5DCA24769DBCA
3 changed files with 7 additions and 3 deletions

View file

@ -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

View file

@ -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:

View file

@ -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