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

[feature/discussion] define a spec for generating a source URL for releases and scm versions, with variable expansion: #360

Open
mrcjkb opened this issue Jan 24, 2025 · 0 comments

Comments

@mrcjkb
Copy link
Member

mrcjkb commented Jan 24, 2025

          suggestion: Perhaps we could define a spec for generating a source URL for releases and scm versions, with variable expansion:
[source.scm]
url = "git://github.com/nvim-neorocks/$(PACKAGE)"

[source.release]
url = "https://github.com/nvim-neorocks/$(PACKAGE)/archive/v$(VERSION).zip"

For building a local project, we replace the SourceSpec with one that points to the project root.

Originally posted by @mrcjkb in #325 (comment)

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