Skip to content

Commit

Permalink
Deployment 1.4.2 #57
Browse files Browse the repository at this point in the history
  • Loading branch information
de-jcup committed Apr 8, 2019
1 parent 8c5b017 commit 1b89e17
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
11 changes: 9 additions & 2 deletions deploy.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
#!/bin/bash
BINTRAY_USER=$1
BINTRAY_API_KEY=$2
BINTRAY_VERSION=$3

function show_help_and_exit() {
echo "Usage:"
echo " deploy.sh bintrayUser apiKey"
echo " deploy.sh bintrayUser apiKey version"
echo " "
echo " version can be e.g. 1.4.2"
exit 1
}

Expand All @@ -16,4 +19,8 @@ if [ -z "$BINTRAY_API_KEY" ]; then
echo "bintray api key not set"
show_help_and_exit;
fi
./pushToBintray.sh ${BINTRAY_USER} ${BINTRAY_API_KEY} de-jcup yamleditor update-site current ./yamleditor-updatesite/
if [ -z "$BINTRAY_VERSION" ]; then
echo "bintray version not set"
show_help_and_exit;
fi
./pushToBintray.sh ${BINTRAY_USER} ${BINTRAY_API_KEY} de-jcup yamleditor update-site ${BINTRAY_VERSION} ./yamleditor-updatesite/
2 changes: 1 addition & 1 deletion yamleditor-feature/feature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<feature
id="de.jcup.yamleditor"
label="Yaml Editor"
version="1.4.1"
version="1.4.2"
provider-name="Albert Tregnaghi">

<description url="https://marketplace.eclipse.org/content/yaml-editor">
Expand Down
2 changes: 1 addition & 1 deletion yamleditor-plugin/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Yaml Editor
Bundle-SymbolicName: de.jcup.yamleditor;singleton:=true
Bundle-Version: 1.4.1
Bundle-Version: 1.4.2
Bundle-Activator: de.jcup.yamleditor.YamlEditorActivator
Bundle-Vendor: Albert Tregnaghi
Require-Bundle: org.eclipse.ui,
Expand Down
1 change: 1 addition & 0 deletions yamleditor-updatesite/site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@
<feature url="features/de.jcup.yamleditor_1.3.0.jar" id="de.jcup.yamleditor" version="1.3.0"/>
<feature url="features/de.jcup.yamleditor_1.4.0.jar" id="de.jcup.yamleditor" version="1.4.0"/>
<feature url="features/de.jcup.yamleditor_1.4.1.jar" id="de.jcup.yamleditor" version="1.4.1"/>
<feature url="features/de.jcup.yamleditor_1.4.2.jar" id="de.jcup.yamleditor" version="1.4.2"/>
</site>

0 comments on commit 1b89e17

Please sign in to comment.