Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: Fix "make create-github-release" #49111

Merged
merged 2 commits into from
Nov 19, 2024
Merged

Conversation

camscale
Copy link
Contributor

Fix the create-github-release make target to use "go run" to run the
tool that creates the github release. This used to run a tool in this
repository that was pre-built, so the "go run" was not needed before.
Now the tool has moved to a separate repository, this is required.

Fix the `create-github-release` make target to use "go run" to run the
tool that creates the github release. This used to run a tool in this
repository that was pre-built, so the "go run" was not needed before.
Now the tool has moved to a separate repository, this is required.
@camscale camscale force-pushed the camh/fix-create-gh-release branch from 299552e to b76090c Compare November 16, 2024 11:46
Makefile Outdated Show resolved Hide resolved
Remove the `CHANGELOG` and `RELEASE_NOTES_GEN` vars that contained the
name of a Go main package to run in favor of a straightforward "go run"
command.
Copy link
Contributor

@fheinecke fheinecke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We now have release tooling for the changelog, and I can add it for the release notes tool with about 5 minutes of work. Do you have an opinion on either:

  • Changing go run to docker run (removing the need to compile and install)
  • Requiring that the tool is pre-installed (like pretty much all other commands), maybe adding a "bootstrap" target

@camscale camscale added this pull request to the merge queue Nov 19, 2024
Merged via the queue into master with commit 7dc8ef6 Nov 19, 2024
39 checks passed
@camscale camscale deleted the camh/fix-create-gh-release branch November 19, 2024 00:28
@public-teleport-github-review-bot

@camscale See the table below for backport results.

Branch Result
branch/v14 Failed
branch/v15 Create PR
branch/v16 Create PR
branch/v17 Create PR

kopiczko pushed a commit that referenced this pull request Nov 19, 2024
* build: Fix "make create-github-release"

Fix the `create-github-release` make target to use "go run" to run the
tool that creates the github release. This used to run a tool in this
repository that was pre-built, so the "go run" was not needed before.
Now the tool has moved to a separate repository, this is required.

* build: Remove single-use vars for simplicity

Remove the `CHANGELOG` and `RELEASE_NOTES_GEN` vars that contained the
name of a Go main package to run in favor of a straightforward "go run"
command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants