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

Allow for custom build id/name #740

Open
GrumpyMeow opened this issue Apr 14, 2023 · 2 comments
Open

Allow for custom build id/name #740

GrumpyMeow opened this issue Apr 14, 2023 · 2 comments
Labels
CLI needs triage Tracking: Issue needs confirmation

Comments

@GrumpyMeow
Copy link

Feature request

I see that for build id a number is being used. It would be nice-to-have to allow for overriding the build-id name in Chromatic Web UI.
This to allow for aligning our the version-name of our CI-build with Chromatic. This would make tracing visual changes back to our builds easier.
We are using Azure DevOps.

Proposed solution

Allow for setting an environment variable which should be used as the build id (prefix) in Chromatic.

@GrumpyMeow GrumpyMeow added the needs triage Tracking: Issue needs confirmation label Apr 14, 2023
@hvgeertruy
Copy link

We would really like this as well.

That way it is clear for the consumers of the storybook which version of the component library they are looking at

Alternatively, we tried an implementation where we pointed the branch to a specific version tag, so the branch value would be the version number, but this is not ideal because that would mean that the url would change for every build (which would make bookmarks or references to Design systems (like frontify/zero-height) pretty useless.

The ability to override the build number/pass the version number from the package.json would be much more useful than YABN (yet another build number :)

@michelbarakat
Copy link

This would be highly appreciated.
A build name override will help track the releases properly

@codykaup codykaup changed the title Allow for custom build id/name Allow for custom build id/name Oct 17, 2024
@codykaup codykaup removed the Migrated label Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLI needs triage Tracking: Issue needs confirmation
Projects
None yet
Development

No branches or pull requests

4 participants