Skip to content

Commit

Permalink
fix(snap): temporarily remove go generate step to "fix" snap version
Browse files Browse the repository at this point in the history
  • Loading branch information
benhoyt committed Jul 15, 2024
1 parent 8a0287b commit 1f25e82
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,12 @@ parts:
source: .
build-snaps:
- go/1.22/stable
# TODO(benhoyt): temporarily remove "go generate" step so that version
# is pulled directly from version.go in Git
# override-build: |
# go generate ./cmd
# CGO_ENABLED=0 go build -trimpath -ldflags=-w -ldflags=-s -o $CRAFT_PART_INSTALL/bin/pebble ./cmd/pebble
override-build: |
go generate ./cmd
CGO_ENABLED=0 go build -trimpath -ldflags=-w -ldflags=-s -o $CRAFT_PART_INSTALL/bin/pebble ./cmd/pebble
pebble-release-data:
Expand Down

0 comments on commit 1f25e82

Please sign in to comment.