Files
sam3/Makefile

31 lines
872 B
Makefile
Raw Normal View History

2019-10-22 02:26:57 -04:00
2024-11-16 16:22:38 -05:00
USER_GH=go-i2p
VERSION=0.33.92
CREDIT='contributors to this release: @hkh4n, @eyedeekay'
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:
github-release release -s $(GITHUB_TOKEN) -u $(USER_GH) -r $(packagename) -t v$(VERSION) -d "version $(VERSION) $(CREDIT)"
2019-10-22 02:26:57 -04:00
2019-12-07 22:09:40 -05:00
del:
2022-08-05 11:57:22 -04:00
github-release delete -s $(GITHUB_TOKEN) -u $(USER_GH) -r $(packagename) -t v$(VERSION)
2019-12-07 22:09:40 -05:00
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
fmt:
2024-12-08 13:22:39 -05:00
find . -name '*.go' -exec gofumpt -w -s -extra {} \;
2020-10-18 01:03:01 -04:00
2020-11-23 20:38:35 -05:00
upload-linux:
2022-08-05 11:57:22 -04:00
github-release upload -R -u $(USER_GH) -r "$(packagename)" -t $(VERSION) -l `sha256sum ` -n "$(packagename)" -f "$(packagename)"