You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@freemarker.apache.org by dd...@apache.org on 2017/07/08 22:57:51 UTC

incubator-freemarker-site git commit: Added how to deploy a SNAPSHOT version

Repository: incubator-freemarker-site
Updated Branches:
  refs/heads/master 35c75a024 -> 725ceb576


Added how to deploy a SNAPSHOT version


Project: http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/commit/725ceb57
Tree: http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/tree/725ceb57
Diff: http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/diff/725ceb57

Branch: refs/heads/master
Commit: 725ceb5766fb77ef9f74707052f48988cc3a0455
Parents: 35c75a0
Author: ddekany <dd...@apache.org>
Authored: Sun Jul 9 00:57:39 2017 +0200
Committer: ddekany <dd...@apache.org>
Committed: Sun Jul 9 00:57:39 2017 +0200

----------------------------------------------------------------------
 src/main/docgen/book.xml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-freemarker-site/blob/725ceb57/src/main/docgen/book.xml
----------------------------------------------------------------------
diff --git a/src/main/docgen/book.xml b/src/main/docgen/book.xml
index c61fe72..f8283c5 100644
--- a/src/main/docgen/book.xml
+++ b/src/main/docgen/book.xml
@@ -1797,6 +1797,24 @@ two freemarker.jar-s and unpredictable behavior!
         </orderedlist>
       </section>
 
+      <section xml:id="deploy-snapshot">
+        <title>Deploying Maven SNAPSHOT versions</title>
+
+        <para>After you have merged/committed your changes to the respectable
+        branch, you may want to publish that version to <link
+        xlink:href="https://repository.apache.org/content/repositories/snapshots">https://repository.apache.org/content/repositories/snapshots</link>.
+        Users or fellow developers can use this Maven repository to try
+        snapshot version.</para>
+
+        <para>To publish the snapshot version, fist check that
+        <literal>version.properties</literal> contains the proper version,
+        most importantly, that <literal>mavenVersion</literal> ends with
+        <literal>-SNAPSHOT</literal>. (If not, it will deploy to the release
+        staging repository.) Then issue <literal>ant dist
+        maven-dist</literal>. (Note that just as with a real release, the
+        artifacts with be signed with PGP.)</para>
+      </section>
+
       <section xml:id="updating-homepage">
         <title>Updating the FreeMarker home page</title>