Skip to content

Commit

Permalink
chore: Add script to check npm maintainers
Browse files Browse the repository at this point in the history
  • Loading branch information
karfau committed Aug 9, 2021
1 parent c568938 commit 3b292c3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions check-publish-access.sh
@@ -0,0 +1,12 @@
#!/bin/bash
set -eu

WAIT=60

while ! (TZ=UTC date -Isec && npm owner ls xmldom | grep "$1")
do
echo "$1 is not listed as owner, trying again in $WAIT sec"
sleep $WAIT
done

echo "$1 is listed as owner"

0 comments on commit 3b292c3

Please sign in to comment.