mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-01-11 19:56:44 +00:00
Update GoReleaser to v6.1.0 and increment version in configuration
This commit is contained in:
parent
663f151051
commit
b43e892295
3 changed files with 7 additions and 3 deletions
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue