mirror of
https://github.com/grdl/git-get.git
synced 2026-02-04 14:31:49 +00:00
Replace scripts with a simple symlink creation in nfpm packages goreleaser config
This commit is contained in:
@@ -110,9 +110,10 @@ nfpms:
|
||||
formats:
|
||||
- deb
|
||||
- rpm
|
||||
scripts:
|
||||
postinstall: "release/scripts/postinstall.sh"
|
||||
preremove: "release/scripts/preremove.sh"
|
||||
contents:
|
||||
- src: /usr/local/bin/git-get
|
||||
dst: /usr/local/bin/git-list
|
||||
type: "symlink"
|
||||
|
||||
scoops:
|
||||
- name: git-get
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
#!/bin/sh
|
||||
# Create symlink for git-list command
|
||||
ln -sf /usr/local/bin/git-get /usr/local/bin/git-list
|
||||
@@ -1,3 +0,0 @@
|
||||
#!/bin/sh
|
||||
# Remove symlink for git-list command
|
||||
rm -f /usr/local/bin/git-list
|
||||
Reference in New Issue
Block a user