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

Error using local artifact if origin has hyphen #41

Open
GregSloan opened this issue Dec 13, 2019 · 0 comments
Open

Error using local artifact if origin has hyphen #41

GregSloan opened this issue Dec 13, 2019 · 0 comments

Comments

@GregSloan
Copy link

When setting artifact_name in the provider, if the origin has a hyphen, the package ident gets incorrectly parsed.

e.g.

origin = "my-origin"
package name = "my-package"

the package ident should be: my-origin/my-package/[version]/build]
instead it gets parsed to: my/origin-my-package/[version]/[build]

Possible solution:

  • Require "package_origin" to be set and use it to parse the pkg_ident correctly

I think I'd like to also suggest allowing a "use_lastbuild" option to parse pkg_artifact and pkg_ident directly from the lastbuild.env in the results directory.

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

No branches or pull requests

1 participant