diff --git a/.goxc.json b/.goxc.json index 5eba54390..3114e9f4f 100644 --- a/.goxc.json +++ b/.goxc.json @@ -33,8 +33,14 @@ "downloadspage": "bintray.md" } }, + "ResourcesInclude": "README.rst,LICENSE,AUTHORS,man/aptly.1", "Arch": "386 amd64", "Os": "linux darwin freebsd", - "MainDirsExclude": "man,vendor", + "MainDirsExclude": "_man,vendor", + "BuildSettings": { + "LdFlagsXVars": { + "Version": "main.Version" + } + }, "ConfigVersion": "0.9" } diff --git a/Makefile b/Makefile index 087aba836..452e44847 100644 --- a/Makefile +++ b/Makefile @@ -66,7 +66,6 @@ src-package: (cd aptly-$(VERSION)/bash_completion.d && wget https://raw.github.com/aptly-dev/aptly-bash-completion/$(VERSION)/aptly) tar cyf aptly-$(VERSION)-src.tar.bz2 aptly-$(VERSION) rm -rf aptly-$(VERSION) - curl -T aptly-$(VERSION)-src.tar.bz2 -usmira:$(BINTRAY_KEY) https://api.bintray.com/content/smira/aptly/aptly/$(VERSION)/$(VERSION)/aptly-$(VERSION)-src.tar.bz2 goxc: rm -rf root/