aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.xml60
-rw-r--r--doc/developers/release-new-version.rst21
-rw-r--r--res/docs/header.tpl.html8
3 files changed, 57 insertions, 32 deletions
diff --git a/build.xml b/build.xml
index e60e861..f50499b 100644
--- a/build.xml
+++ b/build.xml
@@ -26,6 +26,34 @@ contained it - thus no 0.98.3 PEAR package.
<property name="sffilepath" value="s/se/semanticscuttle/" />
<property name="svnpath" value="https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/" />
+ <fileset id="fs.zip" dir=".">
+ <include name="data/**"/>
+ <include name="doc/**"/>
+ <include name="src/**"/>
+ <include name="www/**"/>
+ <include name="scripts/avahi-export.php"/>
+ <include name="scripts/fix-unfiled-tags.php"/>
+ <exclude name="**/.gitignore/"/>
+ <exclude name="**/.svn/"/>
+ <exclude name="data/config.php"/>
+ <exclude name="data/config.testing.php"/>
+ <exclude name="data/config.testing-tmp.php"/>
+ <exclude name="data/locales/messages.po"/>
+ <exclude name="data/locales/*/LC_MESSAGES/messages.po"/>
+ <exclude name="src/php-gettext/examples/" />
+ <exclude name="src/php-gettext/tests/"/>
+ </fileset>
+
+ <fileset id="fs.doc" dir="doc">
+ <include name="ChangeLog"/>
+ <include name="**.txt"/>
+ <include name="**.rst"/>
+ <include name="**/*.rst"/>
+ <exclude name="LICENSE.txt"/>
+ <exclude name="developers/TODO.rst"/>
+ <exclude name="allinone.rst"/>
+ </fileset>
+
<taskdef name="rST" classname="phing.tasks.ext.rSTTask" />
<taskdef name="d51pearpkg2" classname="phing.tasks.ext.d51PearPkg2Task" />
@@ -41,23 +69,7 @@ contained it - thus no 0.98.3 PEAR package.
<echo msg="Creating distribution zip for SemanticScuttle ${version}"/>
<delete file="${distfile}" failonerror="false"/>
<zip destfile="${distfile}" prefix="${phing.project.name}-${version}/">
- <fileset dir=".">
- <include name="data/**"/>
- <include name="doc/**"/>
- <include name="src/**"/>
- <include name="www/**"/>
- <include name="scripts/avahi-export.php"/>
- <include name="scripts/fix-unfiled-tags.php"/>
- <exclude name="**/.gitignore/"/>
- <exclude name="**/.svn/"/>
- <exclude name="data/config.php"/>
- <exclude name="data/config.testing.php"/>
- <exclude name="data/config.testing-tmp.php"/>
- <exclude name="data/locales/messages.po"/>
- <exclude name="data/locales/*/LC_MESSAGES/messages.po"/>
- <exclude name="src/php-gettext/examples/" />
- <exclude name="src/php-gettext/tests/"/>
- </fileset>
+ <fileset refid="fs.zip"/>
</zip>
</target>
@@ -254,15 +266,7 @@ contained it - thus no 0.98.3 PEAR package.
<rST format="html" uptodate="true"
toolparam="--stylesheet=res/docs/style.css"
>
- <fileset dir="doc">
- <include name="ChangeLog"/>
- <include name="**.txt"/>
- <include name="**.rst"/>
- <include name="**/*.rst"/>
- <exclude name="LICENSE.txt"/>
- <exclude name="developers/TODO.rst"/>
- <exclude name="allinone.rst"/>
- </fileset>
+ <fileset refid="fs.doc"/>
<mapper type="regexp" from="^doc/(.+?)(.rst|.txt)?$" to="dist/docs/\1.html"/>
<!--
<filterchain>
@@ -274,6 +278,10 @@ contained it - thus no 0.98.3 PEAR package.
</rST>
</target>
+ <target name="clean-docs" description="delete rendered documentation files">
+ <delete dir="dist/docs" includeemptydirs="yes"/>
+ </target>
+
<target name="release" depends="check,zip,package,deploy-sf"
description="Release the version on sourceforge"
diff --git a/doc/developers/release-new-version.rst b/doc/developers/release-new-version.rst
index 74f4bbd..de2c4e3 100644
--- a/doc/developers/release-new-version.rst
+++ b/doc/developers/release-new-version.rst
@@ -14,9 +14,18 @@ How to release a new version of SemanticScuttle
The build script takes care for most of the
tasks.
Run "``phing release``", and it will upload the release to
- sourceforge and create a svn tag.
-7. Write announcement mail to the SemanticScuttle mailing list
- semanticscuttle-devel@lists.sourceforge.net
-8. Announce the new release in the sourceforge project news
- https://sourceforge.net/apps/trac/sourceforge/wiki/News
-
+ sourceforge.
+7. Create a git tag and push it
+8. Create the PEAR package and test it:
+ Run ``phing package``, then
+ ``pear upgrade dist/pear/SemanticScuttle-0.xx.tgz``
+9. Publish the PEAR package: ``phing deploy-sf-pear``
+10. Publish the documentation: ``phing deploy-docs``
+11. Write announcement mail to the SemanticScuttle mailing list
+ semanticscuttle-devel@lists.sourceforge.net
+12. Announce the new release in the sourceforge project news
+ https://sourceforge.net/news/submit.php?group_id=211356
+ Help about the process is available in
+ https://sourceforge.net/apps/trac/sourceforge/wiki/News
+13. Set the default file in
+ https://sourceforge.net/projects/semanticscuttle/files/SemanticScuttle/
diff --git a/res/docs/header.tpl.html b/res/docs/header.tpl.html
new file mode 100644
index 0000000..ee0650f
--- /dev/null
+++ b/res/docs/header.tpl.html
@@ -0,0 +1,8 @@
+<ul class="menu">
+ <li><a href="index.html">Index</a></li>
+ <li><a href="INSTALL.html">Installation</a></li>
+ <li><a href="UPGRADE.html">Upgrade</a></li>
+ <li><a href="ChangeLog.html">ChangeLog</a></li>
+ <li><a href="http://semanticscuttle.sourceforget.net/">Homepage</a></li>
+ <li><a href="https://sourceforget.net/projects/semanticscuttle">Project page</a></li>
+</ul>