Cleanup
This commit is contained in:
parent
5fe93715d3
commit
61240084e8
|
@ -523,12 +523,7 @@ func (Release) Check() error {
|
|||
|
||||
// Creates a folder for each
|
||||
func (Release) OsPackage() error {
|
||||
|
||||
// $(foreach file,$(filter-out %.sha256,$(wildcard $(DIST)/release/$(EXECUTABLE)-*)),
|
||||
// mkdir $(file)-full;mv $(file) $(file)-full/; mv $(file).sha256 $(file)-full/; cp config.yml.sample $(file)-full/config.yml; cp LICENSE $(file)-full/; )
|
||||
|
||||
p := RootPath + "/" + DIST + "/release/"
|
||||
|
||||
return filepath.Walk(p, func(path string, info os.FileInfo, err error) error {
|
||||
if strings.Contains(info.Name(), ".sha256") {
|
||||
return nil
|
||||
|
|
Loading…
Reference in New Issue