Skip to content

Commit

Permalink
Merge pull request #104 from CameronRP/update-config
Browse files Browse the repository at this point in the history
Update config
  • Loading branch information
CameronRP authored Oct 3, 2021
2 parents 576aaaa + 68daff9 commit be1e78d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,11 @@ nfpms:
formats:
- deb
bindir: /usr/bin
files:
"_release/managementd-avahi.service": "/etc/avahi/services/managementd.service"
"_release/managementd.service": "/etc/systemd/system/managementd.service"
contents:
- src: _release/managementd-avahi.service
dst: /etc/avahi/services/managementd.service
- src: _release/managementd.service
dst: /etc/systemd/system/managementd.service
scripts:
postinstall: "_release/postinstall.sh"

Expand Down
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ script:
- git diff --exit-code --quiet || (echo "Please run 'go mod tidy' to clean up the 'go.mod' and 'go.sum' files."; false)
- go vet ./...
- go test ./...
- curl -sL https://git.io/goreleaser | bash -s check

# Create a release using goreleaser when tests pass and revision is tagged.
deploy:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-arm: install-packr

.PHONY: install-packr
install-packr:
go get github.com/gobuffalo/packr/packr
go get -d github.com/gobuffalo/packr/packr

.PHONY: build
build: install-packr
Expand Down

0 comments on commit be1e78d

Please sign in to comment.