-
Notifications
You must be signed in to change notification settings - Fork 616
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[cd] Guard cd-circt PR on llvm-firtool publish to Maven (#4330)
Co-authored-by: Schuyler Eldridge <[email protected]>
- Loading branch information
1 parent
de4d0c6
commit e6df4cf
Showing
2 changed files
with
10 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Strip firtool- prefix from argument | ||
VERSION=${1#firtool-} | ||
|
||
POM="https://repo1.maven.org/maven2/org/chipsalliance/llvm-firtool/$VERSION/llvm-firtool-$VERSION.pom" | ||
|
||
# Return 1 if not found | ||
curl -o/dev/null -sfIL "$POM" || false |
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