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

Makefile optimizations #842

Merged
merged 2 commits into from
Mar 19, 2024
Merged

Makefile optimizations #842

merged 2 commits into from
Mar 19, 2024

Conversation

gijswijs
Copy link
Contributor

Two improvements:

  1. Passing tags to the makefile using the tags variable results in the tags being added twice. This PR removes that redundancy.
  2. Preventing git describe to fail if it can't find a tag to describe the commit.

Normally, `git describe` will fail if it can't find a tag to describe
the commit. The `--always` option ensures it doesn't fail by falling
back to just outputting the full hash of the commit.
The value of `tags` is already appended to the existing value of
`DEV_TAGS` in `testing_flags.mk`, line 57. This results duplication of
the value passed with the `tags` variable.
Copy link
Member

@guggero guggero left a comment

Choose a reason for hiding this comment

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

Nice, LGTM 🎉

@guggero guggero added this pull request to the merge queue Mar 19, 2024
Merged via the queue into main with commit ed1ec9b Mar 19, 2024
14 checks passed
@gijswijs gijswijs deleted the makefile branch April 4, 2024 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants