fix: strip v prefix from version in make install path #3
Reference in New Issue
Block a user
Delete Branch "benvin/fix-make-install-version"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
make installused the raw git tag (e.g.v0.0.2) in the plugin directory path, but Terraform expects bare version numbers (e.g.0.0.2)INSTALL_VERSIONthat strips thevprefix before constructing the install pathTest plan
make installand verify the plugin lands in~/.terraform.d/plugins/git.unkin.net/unkin/artifactapi/<version>/linux_amd64/without thevprefix02536dd4f0to3d776f9e0f