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 to omit .files[].name if .files[].src is set #1986

Open
suzuki-shunsuke opened this issue May 10, 2023 · 0 comments
Open

Allow to omit .files[].name if .files[].src is set #1986

suzuki-shunsuke opened this issue May 10, 2023 · 0 comments
Labels
enhancement New feature or request registry

Comments

@suzuki-shunsuke
Copy link
Member

Feature Overview

Allow to omit .files[].name if .files[].src is set.
If .files[].src is set, the default value of .files[].name is filepath.Base(.Src)

Why is the feature needed?

To simplify.

Does the feature include Breaking Changes?

No.

Example Code

AS IS

files:
  - name: binaryen-unittests
    src: binaryen-{{.Version}}/bin/binaryen-unittests

TO BE

files:
  - src: binaryen-{{.Version}}/bin/binaryen-unittests

Reference

@suzuki-shunsuke suzuki-shunsuke added the enhancement New feature or request label May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request registry
Projects
Status: Backlog
Development

No branches or pull requests

1 participant