Skip to content

Commit

Permalink
Port over list_staged_release.sh from 4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
normanmaurer committed May 19, 2021
1 parent 263119c commit 288518a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/list_staged_release.sh
@@ -0,0 +1,6 @@
#!/bin/bash
set -e

RC_LIST=$(mvn org.sonatype.plugins:nexus-staging-maven-plugin:rc-list -DserverId=sonatype-nexus-staging -DnexusUrl=https://oss.sonatype.org | grep -A 2 "\[INFO\] ID State Description")
STAGED=$(echo "$RC_LIST" | grep 'OPEN' | cut -f 2 -d ' ')
echo "$STAGED"

0 comments on commit 288518a

Please sign in to comment.