Skip to content

Commit

Permalink
[v16] Cleaning up release-notes tool and using shared-workflows (#48105)
Browse files Browse the repository at this point in the history
* Cleaning up release-notes tool and using shared-workflows

* Updating docs
  • Loading branch information
doggydogworld authored Oct 30, 2024
1 parent 9c66230 commit 0afc438
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 401 deletions.
10 changes: 4 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -755,10 +755,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 @@ -1739,11 +1735,13 @@ changelog:
# does not match version set it will fail to create a release. If tag doesn't exist it
# will also fail to create a release.
#
# For more information on release notes generation see ./build.assets/tooling/cmd/release-notes
# For more information on release notes generation see:
# https://github.com/gravitational/shared-workflows/tree/gus/release-notes/tools/release-notes#readme
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 0afc438

Please sign in to comment.