Skip to content

Commit

Permalink
Cleaning up release-notes tool and using shared-workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
doggydogworld authored and github-actions committed Oct 29, 2024
1 parent 7d9b612 commit 2fd9e09
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 400 deletions.
7 changes: 2 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -820,10 +820,6 @@ RERUN := $(TOOLINGDIR)/bin/rerun
$(RERUN): $(wildcard $(TOOLINGDIR)/cmd/rerun/*.go)
cd $(TOOLINGDIR) && go build -o "$@" ./cmd/rerun

RELEASE_NOTES_GEN := $(TOOLINGDIR)/bin/release-notes
$(RELEASE_NOTES_GEN): $(wildcard $(TOOLINGDIR)/cmd/release-notes/*.go)
cd $(TOOLINGDIR) && go build -o "$@" ./cmd/release-notes

.PHONY: tooling
tooling: ensure-gotestsum $(DIFF_TEST)

Expand Down Expand Up @@ -1823,10 +1819,11 @@ changelog:
# will also fail to create a release.
#
# For more information on release notes generation see ./build.assets/tooling/cmd/release-notes
RELEASE_NOTES_GEN = github.com/gravitational/shared-workflows/tools/release-notes@latest
.PHONY: create-github-release
create-github-release: LATEST = false
create-github-release: GITHUB_RELEASE_LABELS = ""
create-github-release: $(RELEASE_NOTES_GEN)
create-github-release:
@NOTES=$$($(RELEASE_NOTES_GEN) --labels=$(GITHUB_RELEASE_LABELS) $(VERSION) CHANGELOG.md) && gh release create v$(VERSION) \
-t "Teleport $(VERSION)" \
--latest=$(LATEST) \
Expand Down
29 changes: 0 additions & 29 deletions build.assets/tooling/cmd/release-notes/README.md

This file was deleted.

54 changes: 0 additions & 54 deletions build.assets/tooling/cmd/release-notes/main.go

This file was deleted.

116 changes: 0 additions & 116 deletions build.assets/tooling/cmd/release-notes/release_notes.go

This file was deleted.

91 changes: 0 additions & 91 deletions build.assets/tooling/cmd/release-notes/release_notes_test.go

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 2fd9e09

Please sign in to comment.