Skip to content
This repository has been archived by the owner on Mar 31, 2021. It is now read-only.

Commit

Permalink
Nextcloud App release v0.0.20
Browse files Browse the repository at this point in the history
  • Loading branch information
laurent22 committed Dec 17, 2019
1 parent 150c5fb commit e292de0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Tools/release-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ async function main() {
const newVersion = await increaseVersionNumber();
const tagName = 'v' + newVersion;

console.info('New version: ' + newVersion);

const distDir = rootDir + '/dist';
const homeDir = require('os').homedir();
const tarSourcePath = 'joplin'; // Needs to be a relative path for tar to work correctly
Expand All @@ -189,7 +191,7 @@ async function main() {
console.info(await execCommand('openssl dgst -sha512 -sign "' + homeDir + '/.nextcloud/certificates/joplin.key" "' + tarPath + '" | openssl base64 > "' + sigPath + '"'));

console.info(await execCommand('git add -A'));
console.info(await execCommand(`git commit -m "Nextcloud App release v${version}"`));
console.info(await execCommand(`git commit -m "Nextcloud App release v${newVersion}"`));
console.info(await execCommand(`git tag ${tagName}`));
console.info(await execCommand('git push'));
console.info(await execCommand('git push --tags'));
Expand Down
2 changes: 1 addition & 1 deletion appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<name>Joplin Web API</name>
<summary>Joplin Web API for Nextcloud</summary>
<description><![CDATA[Joplin Web API for Nextcloud]]></description>
<version>0.0.18</version>
<version>0.0.20</version>
<licence>apache</licence>
<author mail="[email protected]">Laurent Cozic</author>
<namespace>Joplin</namespace>
Expand Down

0 comments on commit e292de0

Please sign in to comment.