Explorar o código

rpm/debs were missing files

jamesread %!s(int64=5) %!d(string=hai) anos
pai
achega
936b64f2a3
Modificáronse 1 ficheiros con 9 adicións e 0 borrados
  1. 9 0
      .goreleaser.yml

+ 9 - 0
.goreleaser.yml

@@ -49,6 +49,7 @@ archives:
 
     files: 
       - var/config.yaml
+      - LICENSE
       - README.md
       - Dockerfile
       - webui
@@ -81,3 +82,11 @@ nfpms:
       - deb
       - rpm
       - apk
+
+    contents:
+      - src: webui
+        dst: /var/www/olivetin/
+
+      - src: var/config.yaml
+        dst: /etc/OliveTin/config.yaml
+        type: "config|noreplace"