Skip to content

Commit

Permalink
update release targets
Browse files Browse the repository at this point in the history
  • Loading branch information
linyows committed Jan 13, 2025
1 parent df0b11b commit 796d951
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -173,26 +173,14 @@ deps_for_dist:
go install github.com/tcnksm/ghr@latest
go install github.com/mlafeldt/pkgcloud/cmd/pkgcloud-push@latest

github_release: pkg ## Upload archives to Github Release on Mac
github_release: ## Upload archives to Github Release
@echo "$(INFO_COLOR)==> $(RESET)$(BOLD)Releasing for Github$(RESET)"
go get github.com/tcnksm/ghr
rm -rf builds/.keep && ghr v$(VERSION) builds && git checkout builds/.keep

packagecloud_release: ## Upload archives to PackageCloud on Mac
packagecloud_release: ## Upload archives to PackageCloud
@echo "$(INFO_COLOR)==> $(RESET)$(BOLD)Releasing for PackageCloud$(RESET)"
go get github.com/mlafeldt/pkgcloud/...
pkgcloud-push linyows/octopass/el/8 builds/octopass-$(VERSION)-1.x86_64.el8.rpm
pkgcloud-push linyows/octopass/el/7 builds/octopass-$(VERSION)-1.x86_64.el7.rpm
#pkgcloud-push linyows/octopass/el/6 builds/octopass-$(VERSION)-1.x86_64.el6.rpm
pkgcloud-push linyows/octopass/ubuntu/focal builds/octopass_$(VERSION)-1_amd64.focal.deb
pkgcloud-push linyows/octopass/ubuntu/bionic builds/octopass_$(VERSION)-1_amd64.bionic.deb
#pkgcloud-push linyows/octopass/ubuntu/xenial builds/octopass_$(VERSION)-1_amd64.xenial.deb
#pkgcloud-push linyows/octopass/ubuntu/trusty builds/octopass_$(VERSION)-1_amd64.trusty.deb
#pkgcloud-push linyows/octopass/ubuntu/precise builds/octopass_$(VERSION)-1_amd64.precise.deb
pkgcloud-push linyows/octopass/debian/bullseye builds/octopass_$(VERSION)-1_amd64.bullseye.deb
pkgcloud-push linyows/octopass/debian/buster builds/octopass_$(VERSION)-1_amd64.buster.deb
pkgcloud-push linyows/octopass/debian/stretch builds/octopass_$(VERSION)-1_amd64.stretch.deb
#pkgcloud-push linyows/octopass/debian/jessie builds/octopass_$(VERSION)-1_amd64.jessie.deb

pkg: ## Create some distribution packages
rm -rf builds && mkdir builds
Expand Down

0 comments on commit 796d951

Please sign in to comment.