Files
sam3/Makefile

25 lines
586 B
Makefile
Raw Normal View History

2019-10-22 02:26:57 -04:00
USER_GH=eyedeekay
2020-06-22 18:15:05 -04:00
VERSION=0.32.3
2019-12-07 22:06:50 -05:00
packagename=sam3
2019-12-07 17:26:28 -05:00
echo:
@echo "type make version to do release $(VERSION)"
2019-10-22 02:26:57 -04:00
version:
2019-12-07 22:06:50 -05:00
gothub release -s $(GITHUB_TOKEN) -u $(USER_GH) -r $(packagename) -t v$(VERSION) -d "version $(VERSION)"
2019-10-22 02:26:57 -04:00
2019-12-07 22:09:40 -05:00
del:
gothub delete -s $(GITHUB_TOKEN) -u $(USER_GH) -r $(packagename) -t v$(VERSION)
2019-12-07 22:06:50 -05:00
tar:
tar --exclude .git \
--exclude .go \
--exclude bin \
-cJvf ../$(packagename)_$(VERSION).orig.tar.xz .
2020-06-22 18:15:05 -04:00
copier:
echo '#! /usr/bin/env sh' > deb/copy.sh
echo 'for f in $$(ls); do scp $$f/*.deb user@192.168.99.106:~/DEBIAN_PKGS/$$f/main/; done' >> deb/copy.sh