Port over list_staged_release.sh from 4.1
This commit is contained in:
parent
263119c771
commit
288518a90c
6
scripts/list_staged_release.sh
Executable file
6
scripts/list_staged_release.sh
Executable file
@ -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"
|
Loading…
x
Reference in New Issue
Block a user