Unverified Commit a93b4b84 authored by Roberto Sora's avatar Roberto Sora Committed by GitHub

removes additional "=" sign from .goreleaser.yml build config causing wrong...

removes additional "=" sign from .goreleaser.yml build config causing wrong commit checksum string in version info (#376)
parent d165d60c
......@@ -30,7 +30,7 @@ builds:
goarch:
- amd64
ldflags:
- -s -w -X github.com/arduino/arduino-cli/version.versionString={{.Tag}} -X github.com/arduino/arduino-cli/version.commit=={{ .ShortCommit }}
- -s -w -X github.com/arduino/arduino-cli/version.versionString={{.Tag}} -X github.com/arduino/arduino-cli/version.commit={{ .ShortCommit }}
-
# ARM
id: arduino_cli_arm
......@@ -45,7 +45,7 @@ builds:
goarm:
- 6
ldflags:
- -s -w -X github.com/arduino/arduino-cli/version.versionString={{.Tag}} -X github.com/arduino/arduino-cli/version.commit=={{ .ShortCommit }}
- -s -w -X github.com/arduino/arduino-cli/version.versionString={{.Tag}} -X github.com/arduino/arduino-cli/version.commit={{ .ShortCommit }}
- "-extldflags '-static'"
-
# ARMv7
......@@ -61,7 +61,7 @@ builds:
goarm:
- 7
ldflags:
- -s -w -X github.com/arduino/arduino-cli/version.versionString={{.Tag}} -X github.com/arduino/arduino-cli/version.commit=={{ .ShortCommit }}
- -s -w -X github.com/arduino/arduino-cli/version.versionString={{.Tag}} -X github.com/arduino/arduino-cli/version.commit={{ .ShortCommit }}
- "-extldflags '-static'"
-
# ARM64
......@@ -75,7 +75,7 @@ builds:
goarch:
- arm64
ldflags:
- -s -w -X github.com/arduino/arduino-cli/version.versionString={{.Tag}} -X github.com/arduino/arduino-cli/version.commit=={{ .ShortCommit }}
- -s -w -X github.com/arduino/arduino-cli/version.versionString={{.Tag}} -X github.com/arduino/arduino-cli/version.commit={{ .ShortCommit }}
- "-extldflags '-static'"
-
# All the other platforms
......@@ -90,7 +90,7 @@ builds:
- amd64
- 386
ldflags:
- -s -w -X github.com/arduino/arduino-cli/version.versionString={{.Tag}} -X github.com/arduino/arduino-cli/version.commit=={{ .ShortCommit }}
- -s -w -X github.com/arduino/arduino-cli/version.versionString={{.Tag}} -X github.com/arduino/arduino-cli/version.commit={{ .ShortCommit }}
- "-extldflags '-static'"
archives:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment