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:
@@ -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
|
||||||
|
|||||||
@@ -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