Skip to content

Conversation

@zwass
Copy link
Member

@zwass zwass commented Jan 15, 2026

No description provided.

directionless
directionless previously approved these changes Jan 16, 2026
branches: [ "master" ]
tags: [ "*" ]
pull_request:
branches: [ "master" ]
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
branches: [ "master" ]
branches: [ "master", "main"]

We should rename this to main while you're tinkering

Copy link
Member Author

Choose a reason for hiding this comment

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

I'd prefer to address that separately, and through all the osquery repos when we do it.

if [[ "${GITHUB_REF_TYPE}" == "tag" ]]; then
echo "VERSION=${GITHUB_REF_NAME}-$(uname -m)" >> "$GITHUB_ENV"
else
echo "VERSION=${GITHUB_SHA}-$(uname -m)" >> "$GITHUB_ENV"
Copy link
Member

Choose a reason for hiding this comment

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

This seems fine, but will also be a lot harder to understand than git describe --tags --always --dirty

Actually... I think you can ditch the if statement and just use that directly.

@zwass zwass requested a review from directionless January 29, 2026 16:56
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