-
Notifications
You must be signed in to change notification settings - Fork 226
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: push the @agoric/sdk tag separately to trigger Docker builds
- Loading branch information
1 parent
f4de1c2
commit 22bd723
Showing
2 changed files
with
17 additions
and
2 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
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 |
---|---|---|
@@ -1,2 +1,17 @@ | ||
#! /bin/sh | ||
git tag -l | egrep -e '@[0-9]+\.[0-9]+\.[0-9]+$' | ||
cmd=${1+"$@"} | ||
sdkTags= | ||
otherTags= | ||
if test -z "$cmd"; then | ||
cmd=echo | ||
fi | ||
for tag in $(git tag -l | egrep -e '@[0-9]+\.[0-9]+\.[0-9]+$'); do | ||
case $tag in | ||
@agoric/sdk@*) sdkTags="$sdkTags $tag" ;; | ||
*) otherTags="$otherTags $tag" ;; | ||
esac | ||
done | ||
|
||
# Push the SDK tag separately so that it can trigger CI. | ||
$cmd$otherTags && $cmd$sdkTags | ||
exit $? |