You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by ad...@apache.org on 2019/04/01 18:29:16 UTC

[wicket] branch wicket-8.x updated: Attempt to fix release script over reteiving the staging id repository

This is an automated email from the ASF dual-hosted git repository.

adelbene pushed a commit to branch wicket-8.x
in repository https://gitbox.apache.org/repos/asf/wicket.git


The following commit(s) were added to refs/heads/wicket-8.x by this push:
     new b03f3dc  Attempt to fix release script over reteiving the staging id repository
b03f3dc is described below

commit b03f3dc1e9a89e418a2010b10ed9564e39941b18
Author: Andrea Del Bene <ad...@apache.org>
AuthorDate: Mon Apr 1 20:28:05 2019 +0200

    Attempt to fix release script over reteiving the staging id repository
---
 release.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/release.sh b/release.sh
index 32209c2..c445082 100755
--- a/release.sh
+++ b/release.sh
@@ -554,7 +554,7 @@ if [ $? -ne 0 ] ; then
 fi
 
 # Determine the staging repository and close it after deploying the release to the staging area
-stagingrepoid=$(mvn org.sonatype.plugins:nexus-staging-maven-plugin:LATEST:rc-list -DnexusUrl=https://repository.apache.org -DserverId=apache.releases.https | grep -v "CLOSED" | grep -Eo "(orgapachewicket-\d+)";)
+stagingrepoid=$(mvn org.sonatype.plugins:nexus-staging-maven-plugin:LATEST:rc-list -DnexusUrl=https://repository.apache.org -DserverId=apache.releases.https | grep -v "OPEN" | grep -Eo "(orgapachewicket-\d+)";)
 
 echo "Closing staging repository with id $stagingrepoid"
 mvn org.sonatype.plugins:nexus-staging-maven-plugin:LATEST:rc-close -DstagingRepositoryId=$stagingrepoid -DnexusUrl=https://repository.apache.org -DserverId=apache.releases.https -Ddescription="Release has been built, awaiting vote"