You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2018/11/02 14:01:06 UTC

[syncope] branch 2_0_X updated: Adjusting release process

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

ilgrosso pushed a commit to branch 2_0_X
in repository https://gitbox.apache.org/repos/asf/syncope.git


The following commit(s) were added to refs/heads/2_0_X by this push:
     new c59eaf8  Adjusting release process
c59eaf8 is described below

commit c59eaf84101105fd57e5c1d56a36b5c760d94be1
Author: Francesco Chicchiriccò <il...@apache.org>
AuthorDate: Fri Nov 2 15:00:56 2018 +0100

    Adjusting release process
---
 ide/pom.xml                       |  7 ++++++-
 src/site/xdoc/release-process.xml | 32 +++++++++++++++++---------------
 2 files changed, 23 insertions(+), 16 deletions(-)

diff --git a/ide/pom.xml b/ide/pom.xml
index e142343..b7268bd 100644
--- a/ide/pom.xml
+++ b/ide/pom.xml
@@ -122,6 +122,11 @@ under the License.
           </plugin>
         </plugins>
       </build>
+
+      <modules>
+	<module>eclipse</module>
+	<module>netbeans</module>
+      </modules>
     </profile>
   </profiles>
-</project>
\ No newline at end of file
+</project>
diff --git a/src/site/xdoc/release-process.xml b/src/site/xdoc/release-process.xml
index 85ee4e8..d6f32dc 100644
--- a/src/site/xdoc/release-process.xml
+++ b/src/site/xdoc/release-process.xml
@@ -297,7 +297,7 @@ do
 done
           
 for file in `find . -name '*.deb' -or -name '*.jar' -or -name '*.zip' -or -name '*.nbm'`; do
- openssl sha1 $file | sed 's/.*= //' > $file.sha1
+ openssl sha512 $file | sed 's/.*= //' > $file.sha512
 done
 
 cd ..
@@ -311,14 +311,14 @@ unzip $SYNCOPE_RELEASE_DIR/target/syncope-$VERSION-source-release.zip
 cd syncope-$VERSION        
 mvn -PskipTests,all
 
-cd standalone/target/standalone/apache-tomcat-* && ./bin/startup.sh
+cd standalone/target/standalone/apache-tomcat-* && chmod 755 bin/*.sh && ./bin/startup.sh
 
 curl -o /tmp/syncope.wadl http://localhost:9080/syncope/syncope.wadl
 
 curl -o /tmp/index.html http://localhost:9080/syncope/index.html
-sed -i 's/\/syncope\/webjars\/jquery\/2.2.4\/jquery.min.js/https:\/\/code.jquery.com\/jquery-2.2.4.min.js/' /tmp/index.html 
-sed -i 's/\/syncope\/webjars\/jquery-ui\/1.11.4\/jquery-ui.min.js/http:\/\/code.jquery.com\/ui\/1.11.4\/jquery-ui.min.js/' /tmp/index.html               
-sed -i 's/\/syncope\/webjars\/jquery-ui-themes\/1.11.4\/smoothness\/jquery-ui.min.css/https:\/\/code.jquery.com\/ui\/1.11.4\/themes\/smoothness\/jquery-ui.css/' /tmp/index.html 
+sed -i 's/\/syncope\/webjars\/jquery\/3.3.1-1\/jquery.min.js/https:\/\/code.jquery.com\/jquery-3.3.1.min.js/' /tmp/index.html 
+sed -i 's/\/syncope\/webjars\/jquery-ui\/1.12.1\/jquery-ui.min.js/http:\/\/code.jquery.com\/ui\/1.12.1\/jquery-ui.min.js/' /tmp/index.html               
+sed -i 's/\/syncope\/webjars\/jquery-ui-themes\/1.12.1\/smoothness\/jquery-ui.min.css/https:\/\/code.jquery.com\/ui\/1.12.1\/themes\/smoothness\/jquery-ui.css/' /tmp/index.html 
 
 # if releasing from 2_0_X
 curl -o /tmp/schema_1_syncope2.html http://localhost:9080/syncope/schema_1_syncope2.html
@@ -326,7 +326,7 @@ sed -i 's/\/syncope\/webjars\/highlightjs\/9.8.0\/styles\/default.min.css/http:\
 sed -i 's/\/syncope\/webjars\/highlightjs\/9.8.0\/highlight.min.js/http:\/\/cdnjs.cloudflare.com\/ajax\/libs\/highlight.js\/9.8.0\/highlight.min.js/' /tmp/schema_1_syncope2.html 
 
 # else if releasing from 2_1_X
-curl -o /tmp/schema_1_syncope2.html http://localhost:9080/syncope/schema_1_syncope21.html
+curl -o /tmp/schema_1_syncope21.html http://localhost:9080/syncope/schema_1_syncope21.html
 sed -i 's/\/syncope\/webjars\/highlightjs\/9.8.0\/styles\/default.min.css/http:\/\/cdnjs.cloudflare.com\/ajax\/libs\/highlight.js\/9.8.0\/styles\/default.min.css/' /tmp/schema_1_syncope21.html 
 sed -i 's/\/syncope\/webjars\/highlightjs\/9.8.0\/highlight.min.js/http:\/\/cdnjs.cloudflare.com\/ajax\/libs\/highlight.js\/9.8.0\/highlight.min.js/' /tmp/schema_1_syncope21.html 
 
@@ -340,10 +340,10 @@ mvn -P site -Dsite.deploymentBaseUrl=file:///<absolute path to/site>/$VERSION
 cd <absolute path to/site>/$VERSION
 
 # if releasing from 2_0_X
-mkdir -p $VERSION/rest/2.0
-mv /tmp/index.html $VERSION/rest/2.0
-mv /tmp/schema_1_syncope2.html $VERSION/rest/2.0
-mv /tmp/syncope.wadl $VERSION/rest/2.0
+mkdir -p rest/2.0
+mv /tmp/index.html rest/2.0
+mv /tmp/schema_1_syncope2.html rest/2.0
+mv /tmp/syncope.wadl rest/2.0
 cp $SYNCOPE_SITE_DIR/target/generated-docs/getting-started.* docs/2.0/
 cp $SYNCOPE_SITE_DIR/target/generated-docs/reference-guide.* docs/2.0/
 cp -r $SYNCOPE_SITE_DIR/target/generated-docs/images docs/2.0/
@@ -355,12 +355,13 @@ cd ../..
 svn add $VERSION
 svn copy apidocs/2.1 $VERSION/apidocs/
 svn copy rest/2.1 $VERSION/rest/
+svn copy docs/2.1/ $VERSION/docs/
 
 # else if releasing from 2_1_X
-mkdir -p $VERSION/rest/2.1
-mv /tmp/index.html $VERSION/rest/2.1
-mv /tmp/schema_1_syncope21.html $VERSION/rest/2.1
-mv /tmp/syncope.wadl $VERSION/rest/2.1
+mkdir -p rest/2.1
+mv /tmp/index.html rest/2.1
+mv /tmp/schema_1_syncope21.html rest/2.1
+mv /tmp/syncope.wadl rest/2.1
 cp $SYNCOPE_SITE_DIR/target/generated-docs/getting-started.* docs/2.1/
 cp $SYNCOPE_SITE_DIR/target/generated-docs/reference-guide.* docs/2.1/
 cp -r $SYNCOPE_SITE_DIR/target/generated-docs/images docs/2.1/
@@ -372,6 +373,7 @@ cd ../..
 svn add $VERSION
 svn copy apidocs/2.0 $VERSION/apidocs/
 svn copy rest/2.0 $VERSION/rest/
+svn copy docs/2.0/ $VERSION/docs/
 
 svn commit -m "Staging site for release"]]></source>
           </li>
@@ -403,7 +405,7 @@ svn commit -m "Staging site for release"]]></source>
                     <code>sources</code>, and 
                     <code>tests</code> jars, as well as 
                     <code>poms</code>s, ... have 
-                    <code>.asc</code> (GPG signature)
+                    <code>.asc</code> (GPG signature) and 
                     files
                     <br/>
                     The <code>syncope-$VERSION-source-release.zip</code>