Skip to content

Commit

Permalink
fix: push the @agoric/sdk tag separately to trigger Docker builds
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfig committed Oct 11, 2020
1 parent f4de1c2 commit 22bd723
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MAINTAINERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ REFERENCES TO YOUR TAGS.

```sh
# Publish the released package tags.
./scripts/get-released-tags | xargs git push origin
./scripts/get-released-tags git push origin
```

## More subtlety
Expand Down
17 changes: 16 additions & 1 deletion scripts/get-released-tags
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 $?

0 comments on commit 22bd723

Please sign in to comment.