Skip to content

Commit

Permalink
dist: goreleaser, replace empty_folders with dst type dir
Browse files Browse the repository at this point in the history
Fixes #3032
Fixes #3040
  • Loading branch information
mmatczuk committed Feb 23, 2022
1 parent 22242f8 commit d7f7ca3
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions dist/.goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,13 @@ nfpms:
- rpm
bindir: /usr/bin

empty_folders:
- /var/lib/scylla-manager
contents:
- dst: /var/lib/scylla-manager
type: "dir"
file_info:
mode: 0770
owner: scylla-manager
group: scylla-manager
- src: etc/scylla-manager.yaml
dst: /etc/scylla-manager/scylla-manager.yaml
type: "config|noreplace"
Expand Down Expand Up @@ -186,9 +190,13 @@ nfpms:
- rpm
bindir: /usr/bin

empty_folders:
- /var/lib/scylla-manager
contents:
- dst: /var/lib/scylla-manager
type: "dir"
file_info:
mode: 0770
owner: scylla-manager
group: scylla-manager
- src: etc/scylla-manager-agent.yaml
dst: /etc/scylla-manager-agent/scylla-manager-agent.yaml
type: "config|noreplace"
Expand Down

0 comments on commit d7f7ca3

Please sign in to comment.