diff --git a/desktop-app/package.json b/desktop-app/package.json index 7a8be5d4..68838f77 100644 --- a/desktop-app/package.json +++ b/desktop-app/package.json @@ -1,7 +1,7 @@ { "name": "Responsively-App", "productName": "ResponsivelyApp", - "version": "0.0.10", + "version": "0.0.11", "description": "A developer-friendly browser for developing responsive web apps", "scripts": { "build": "concurrently \"yarn build-main\" \"yarn build-renderer\"", @@ -20,7 +20,11 @@ "package-all": "yarn build && electron-builder build -mwl", "package-ci": "yarn postinstall && yarn build && electron-builder build -mwl --publish always", "package-linux": "yarn build && electron-builder build --linux", + "publish-linux": "yarn build && electron-builder build --linux --publish always", + "package-mac": "yarn build && electron-builder build --mac", + "publish-mac": "yarn build && electron-builder build --mac --publish always", "package-win": "yarn build && electron-builder build --win --x64", + "publish-win": "yarn build && electron-builder build --win --x64 --publish always", "postinstall": "electron-builder install-app-deps package.json && yarn build-dll && opencollective-postinstall", "postlint-fix": "prettier --ignore-path .eslintignore --single-quote --write '**/*.{*{js,jsx,json},babelrc,eslintrc,prettierrc,stylelintrc}'", "postlint-styles-fix": "prettier --ignore-path .eslintignore --single-quote --write '**/*.{css,scss}'", diff --git a/desktop-app/publish-linux b/desktop-app/publish-linux new file mode 100755 index 00000000..7b0f9542 --- /dev/null +++ b/desktop-app/publish-linux @@ -0,0 +1,10 @@ +#!/bin/bash + +echo "Publishing..." +yarn run publish-linux +echo "Publishing... Done" + +echo "Linking current version in S3..." +aws s3 cp s3://responsively-updates/stable/ResponsivelyApp-`node -p "require('./package.json').version"`.AppImage s3://responsively-updates/stable/ResponsivelyApp.AppImage --acl public-read +echo "Linking current version in S3... Done" + diff --git a/desktop-app/publish-mac b/desktop-app/publish-mac new file mode 100755 index 00000000..0447b75f --- /dev/null +++ b/desktop-app/publish-mac @@ -0,0 +1,10 @@ +#!/bin/bash + +echo "Publishing..." +yarn run publish-mac +echo "Publishing... Done" + +echo "Linking current version in S3..." +aws s3 cp s3://responsively-updates/stable/ResponsivelyApp-`node -p "require('./package.json').version"`.dmg s3://responsively-updates/stable/ResponsivelyApp.dmg --acl public-read +echo "Linking current version in S3... Done" + diff --git a/desktop-app/publish-win b/desktop-app/publish-win new file mode 100755 index 00000000..63f7ceb1 --- /dev/null +++ b/desktop-app/publish-win @@ -0,0 +1,10 @@ +#!/bin/bash + +echo "Publishing..." +yarn run publish-win +echo "Publishing... Done" + +echo "Linking current version in S3..." +aws s3 cp s3://responsively-updates/stable/ResponsivelyApp\ Setup\ `node -p "require('./package.json').version"`.exe s3://responsively-updates/stable/ResponsivelyApp-Setup.exe --acl public-read +echo "Linking current version in S3... Done" + diff --git a/website/pages/download.html b/website/pages/download.html index 7ea0e576..eb35a91b 100644 --- a/website/pages/download.html +++ b/website/pages/download.html @@ -145,7 +145,7 @@
icon
- +

Download for Mac

@@ -153,7 +153,7 @@
icon
- +

Download for Windows

@@ -161,7 +161,7 @@
icon
- +

Download for Linux