From c94035227c1ed34ad083a10c6f525a78186098dc Mon Sep 17 00:00:00 2001 From: Lars Heinemann Date: Thu, 31 May 2018 10:40:43 +0200 Subject: [PATCH] #21 - provide a index.html in the repo folders Signed-off-by: Lars Heinemann --- .travis.yml | 10 +++++++++- website/index.html | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 website/index.html diff --git a/.travis.yml b/.travis.yml index d676d7a0c..1493d0b3b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,6 +26,9 @@ after_success: - mkdir com.github.camel-tooling.lsp.eclipse.updatesite/target/updatesite/ - mkdir com.github.camel-tooling.lsp.eclipse.updatesite/target/updatesite/${DEPLOY_REPO_ROOT}/ - mv com.github.camel-tooling.lsp.eclipse.updatesite/target/repository/* com.github.camel-tooling.lsp.eclipse.updatesite/target/updatesite/${DEPLOY_REPO_ROOT}/ +- find website/* -name 'index.html' | xargs perl -pi -e "s/##VERSION##/${PLUGIN_VERSION}/g" +- find website/* -name 'index.html' | xargs perl -pi -e "s/##TYPE##/${DEPLOY_REPO_ROOT}/g" +- cp website/index.html com.github.camel-tooling.lsp.eclipse.updatesite/target/updatesite/${DEPLOY_REPO_ROOT}/ addons: sonarcloud: organization: "camel-tooling" @@ -45,5 +48,10 @@ deploy: overwrite: true on: branch: master + - provider: script + script: bash .travis_publish + skip_cleanup: true + overwrite: true + on: tags: true - + diff --git a/website/index.html b/website/index.html new file mode 100644 index 000000000..af776e6ce --- /dev/null +++ b/website/index.html @@ -0,0 +1,37 @@ + + +Camel Tooling - Eclipse ##TYPE## Update Site - ­ ##VERSION## + + +
+ +

Language Support for Apache Camel - Eclipse Update Site (##TYPE##)

+

Latest Build: ##VERSION##

+ +

This is the Update Site for Camel Tooling Language Server for Eclipse +

+
+ To install from this site, start up Eclipse, then do:
+ Help > Install New Software... >
+ Copy this site's URL into Eclipse, and hit Enter.
+ When the site loads, select the features to install, or click the Select All button.
+ To properly resolve all dependencies, check
+ [x] Contact all update sites during install to find required software
+ Click Next, agree to the license terms, and install.
+

+ You can also download Camel Tooling Language Server plugin as individual zip for + offline installation. See Github Releases.
+ If you downloaded this site as a zip, you have to extract it into your local Eclipse folder. +

+
+
+

+ +

Stable Releases

+ Stable releases are - as indicated by their name - stable.
+
+

Nightly Builds

+ The bleeding edge contains the latest and greatest new features, but nothing is + stable or guaranteed - yet. If you're using a Release and need a fix, you can update to the latest Nightly, or wait for the next reelase.
+
+