Skip to content

Commit

Permalink
Update frontend/blog/2023-07-29-tag-filter.md
Browse files Browse the repository at this point in the history
Co-authored-by: Caleb Cartwright <calebcartwright@users.noreply.github.com>
  • Loading branch information
chris48s and calebcartwright authored Jul 31, 2023
1 parent 5cf2c96 commit 8552bc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/blog/2023-07-29-tag-filter.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ authors:
tags: []
---

We recently shipped a feature which allows you to pass an arbitrary filter to the github tag and release badges. The `filter` param can be used to apply a filter to the project's tag or release names before selecting the latest from the list. Two constructs are available: `*` is a wildcard matching zero or more characters, and if the pattern starts with a `!`, the whole pattern is negated.
We recently shipped a feature which allows you to pass an arbitrary filter to the GitHub tag and release badges. The `filter` param can be used to apply a filter to the project's tag or release names before selecting the latest from the list. Two constructs are available: `*` is a wildcard matching zero or more characters, and if the pattern starts with a `!`, the whole pattern is negated.

To give an example of how this might be useful, we create two types of tags on our GitHub repo: https://github.com/badges/shields/tags There are tags in the format `major.minor.patch` which correspond to our [NPM package releases](https://www.npmjs.com/package/badge-maker?activeTab=versions) and tags in the format `server-YYYY-MM-DD` that correspond to our [docker snapshot releases](https://registry.hub.docker.com/r/shieldsio/shields/tags?page=1&ordering=last_updated).

Expand Down

0 comments on commit 8552bc3

Please sign in to comment.