6
0
mirror of https://github.com/grdl/git-get.git synced 2026-02-04 18:34:51 +00:00

Replace scripts with a simple symlink creation in nfpm packages goreleaser config

This commit is contained in:
Grzegorz Dlugoszewski
2025-08-24 13:16:14 +02:00
parent 8a9002e678
commit d7bc3b3a8f
3 changed files with 4 additions and 9 deletions

View File

@@ -110,9 +110,10 @@ nfpms:
formats: formats:
- deb - deb
- rpm - rpm
scripts: contents:
postinstall: "release/scripts/postinstall.sh" - src: /usr/local/bin/git-get
preremove: "release/scripts/preremove.sh" dst: /usr/local/bin/git-list
type: "symlink"
scoops: scoops:
- name: git-get - name: git-get

View File

@@ -1,3 +0,0 @@
#!/bin/sh
# Create symlink for git-list command
ln -sf /usr/local/bin/git-get /usr/local/bin/git-list

View File

@@ -1,3 +0,0 @@
#!/bin/sh
# Remove symlink for git-list command
rm -f /usr/local/bin/git-list