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

feat: support glob as files key #2

Merged
merged 1 commit into from
Feb 8, 2023
Merged

Conversation

deckchairlabs
Copy link
Contributor

I have a need to update the version in a lot of files. This PR allows the keys of files within the config to be a glob pattern.

version: 0.0.0
commit: 'chore: bump version to %.%.%'
files:
  README.md: v%.%.%
  examples/*/importMap.json: v%.%.%

Copy link
Owner

@kt3k kt3k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks a nice feature. The test case also looks good. Thanks!

@kt3k kt3k merged commit d4fae9d into kt3k:main Feb 8, 2023
@kt3k
Copy link
Owner

kt3k commented Feb 8, 2023

Released as 0.2.0 https://deno.land/x/bmp@v0.2.0

@deckchairlabs
Copy link
Contributor Author

I can open another PR to update the readme l

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

Successfully merging this pull request may close these issues.

2 participants