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

feat: surface environment variable to indicate Change level #6

Merged

Commits on Jan 18, 2024

  1. feat: surface environment variable to indicate Change level

    As noted in go-semantic-release#5, it would be useful for Goreleaser templates to be able
    to understand the different semver changes introduced in the release.
    
    This exposes a variable if the change is detected, allowing a consumer
    to use something like the below to conditionally handle the presence
    (and non-zero contents), such as:
    
        {{ if .Env.GOSEMREL_MAJOR }} ... {{ end }}
    
    Closes go-semantic-release#5.
    jamietanna committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    f431f17 View commit details
    Browse the repository at this point in the history