Skip to content

Commit 5ca35d1

Browse files
committed
Adjusting the release process
1 parent 83b046a commit 5ca35d1

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

src/site/xdoc/release-process.xml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -283,20 +283,19 @@ mv /tmp/openapi.json rest/$MAJOR_VERSION/
283283
mv /tmp/keymaster-openapi.json rest/$MAJOR_VERSION/
284284
cp -r $SYNCOPE_RELEASE_DIR/core/starter/target/swagger-ui/META-INF/resources/webjars/swagger-ui/*/* rest/$MAJOR_VERSION/
285285
sed 's/rest\/openapi.json/openapi.json/' $SYNCOPE_RELEASE_DIR/core/starter/target/classes/META-INF/resources/index.html | \
286-
sed 's/\/rest\/keymaster\//keymaster-/' > rest/$MAJOR_VERSION/index.html
286+
sed 's/rest\/keymaster\//keymaster-/' > rest/$MAJOR_VERSION/index.html
287287
mkdir -p docs/$MAJOR_VERSION
288288
cp $SYNCOPE_SITE_DIR/target/generated-docs/getting-started.* docs/$MAJOR_VERSION/
289289
cp $SYNCOPE_SITE_DIR/target/generated-docs/reference-guide.* docs/$MAJOR_VERSION/
290290
cp -r $SYNCOPE_SITE_DIR/target/generated-docs/images docs/$MAJOR_VERSION/
291-
cd docs
292-
ln -s 4.0/reference-guide.html .
293-
ln -s 4.0/getting-started.html .
294-
ln -s 4.0/images/ .
291+
295292
cd ../apidocs
296293
mkdir $MAJOR_VERSION
297294
mv * $MAJOR_VERSION/
295+
298296
cd ../..
299297
svn add $VERSION
298+
300299
# if releasing from 4_0_X
301300
svn copy apidocs/3.0 $VERSION/apidocs/
302301
svn copy rest/3.0 $VERSION/rest/
@@ -306,6 +305,15 @@ svn copy apidocs/4.0 $VERSION/apidocs/
306305
svn copy rest/4.0 $VERSION/rest/
307306
svn copy docs/4.0 $VERSION/docs/
308307
308+
cd $VERSION/docs
309+
ln -s 4.0/reference-guide.html .
310+
ln -s 4.0/getting-started.html .
311+
ln -s 4.0/images/ .
312+
svn add 4.0/reference-guide.html
313+
svn add 4.0/getting-started.html
314+
svn add 4.0/images/
315+
cd ../..
316+
309317
svn commit -m "Staging site for release"]]></source>
310318
</li>
311319
<li>

0 commit comments

Comments
 (0)