Skip to content

Use an unreleased version of elastic-package #48

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

Open
zmoog opened this issue Aug 30, 2023 · 1 comment
Open

Use an unreleased version of elastic-package #48

zmoog opened this issue Aug 30, 2023 · 1 comment

Comments

@zmoog
Copy link
Owner

zmoog commented Aug 30, 2023

I am working on a PR that needs an unreleased version of elastic-package that contains a new feature.

How can I set up an integration to use an arbitrary version of elastic-package?

@zmoog
Copy link
Owner Author

zmoog commented Aug 30, 2023

It seems the integrations repo uses the elastic-package version referenced in the go.mod file.

Here's how to switch to elastic-package@main:

go mod edit -replace github.com/elastic/elastic-package=github.com/elastic/elastic-package@main && go mod tidy

Replace main with a different ref if you want a different version or commit.

@zmoog zmoog self-assigned this Aug 30, 2023
@zmoog zmoog added the research label Aug 30, 2023
@zmoog zmoog added this to Notes Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant