Skip to content

Commit 43af302

Browse files
authored
Merge pull request #124 from carlpett/update-release-workflow
Replace 'hub' with 'gh' for managing Github releases
2 parents dcccb25 + 5eccf79 commit 43af302

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

GNUmakefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,16 @@ $(GOPATH)/bin/gox:
3434
# Need to disable modules for this to not pollute go.mod
3535
@GO111MODULE=off go get -u github.com/mitchellh/gox
3636

37-
# This uses the `hub` tool, which is preinstalled on GitHub Actions runners.
37+
# This uses the `gh` tool, which is preinstalled on GitHub Actions runners.
3838
release: crossbuild
3939
@echo ">> uploading release $(VERSION)"
4040
mkdir -p releases
4141
set -e; for OSARCH in $(OSARCH_COMBOS); do \
4242
zip -j releases/terraform-provider-sops_$(RELEASE)_$$OSARCH.zip binaries/$(VERSION)/$$OSARCH/terraform-provider-sops_* > /dev/null; \
43-
hub release edit -m "" -a "releases/terraform-provider-sops_$(RELEASE)_$$OSARCH.zip#terraform-provider-sops_$(RELEASE)_$$OSARCH.zip" $(VERSION); \
43+
gh release upload $(VERSION) "releases/terraform-provider-sops_$(RELEASE)_$$OSARCH.zip#terraform-provider-sops_$(RELEASE)_$$OSARCH.zip"; \
4444
done
4545
@echo ">>> generating sha256sums:"
4646
cd releases; sha256sum *.zip | tee terraform-provider-sops_$(RELEASE)_SHA256SUMS
47-
hub release edit -m "" -a "releases/terraform-provider-sops_$(RELEASE)_SHA256SUMS#terraform-provider-sops_$(RELEASE)_SHA256SUMS" $(VERSION)
47+
gh release upload $(VERSION) "releases/terraform-provider-sops_$(RELEASE)_SHA256SUMS#terraform-provider-sops_$(RELEASE)_SHA256SUMS"
4848

4949
.PHONY: all style vet test build crossbuild release

0 commit comments

Comments
 (0)