-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(releasing): Fix globbing of release artifacts for GitHub (#17114)
Since this was moved to vdev, we lost the automatic shell globbing. This introduces the `glob` crate to handle it. I tested it locally by swapping `gh` with `echo` and adding dummy files: ``` vector on v0.29 [$!] is 📦 v0.29.0 via v19.4.0 via 💎 v2.7.4 via 🦀 v1.66.1 on ☁️ ❯ touch target/artifacts/{foo,bar} vector on v0.29 [$!] is 📦 v0.29.0 via v19.4.0 via 💎 v2.7.4 via 🦀 v1.66.1 on ☁️ ❯ cargo vdev release github release --repo vectordotdev/vector create v0.29.0 --title v0.29.0 --notes [View release notes](https://vector.dev/releases/0.29.0) target/artifacts/bar target/artifacts/foo ``` Signed-off-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>
- Loading branch information
Showing
3 changed files
with
29 additions
and
13 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters