update daily build script
This commit is contained in:
parent
0855029fe7
commit
83ddf9b02b
|
@ -4,7 +4,7 @@
|
||||||
[![最新版本](https://img.shields.io/github/release/mayswind/AriaNg.svg?style=flat)](https://github.com/mayswind/AriaNg/releases)
|
[![最新版本](https://img.shields.io/github/release/mayswind/AriaNg.svg?style=flat)](https://github.com/mayswind/AriaNg/releases)
|
||||||
|
|
||||||
## 介绍
|
## 介绍
|
||||||
面向 [aria2](https://github.com/aria2/aria2) (aria2 是一个跨平台的下载工具) 的更好用的 Web 前端. AriaNg 使用纯 html & javascript 开发, 所以既不需要编译也不依赖于任何运行环境, 您只需要打开您的游览器就可以使用. 通过借助响应式布局设计, 您可以在任何计算机或移动设备上使用.
|
面向 [aria2](https://github.com/aria2/aria2) 的更好用的 Web 前端. AriaNg 使用纯 html & javascript 开发, 所以既不需要编译也不依赖于任何运行环境, 您只需要打开您的游览器就可以使用. 通过借助响应式布局设计, 您可以在任何计算机或移动设备上使用.
|
||||||
|
|
||||||
## 特性
|
## 特性
|
||||||
1. 纯 Html & Javascript 实现, 不依赖任何运行时
|
1. 纯 Html & Javascript 实现, 不依赖任何运行时
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
* 根据文件类型过滤任务中的文件 (按视频, 音频, 图片, 文档, 应用程序, 存档文件等.)
|
* 根据文件类型过滤任务中的文件 (按视频, 音频, 图片, 文档, 应用程序, 存档文件等.)
|
||||||
* 全局以及单任务的上传/下载图表
|
* 全局以及单任务的上传/下载图表
|
||||||
* 完整支持 aria2 设置选项
|
* 完整支持 aria2 设置选项
|
||||||
4. 支持通过请求地址添加任务 (http://AriaNgUrl/#/new/url_base64)
|
4. 支持网页地址命令行
|
||||||
5. 下载完成消息通知
|
5. 下载完成消息通知
|
||||||
6. 多语言支持
|
6. 多语言支持
|
||||||
7. 支持配置多个 aria2 RPC
|
7. 支持配置多个 aria2 RPC
|
||||||
|
@ -31,9 +31,9 @@
|
||||||
|
|
||||||
## 安装
|
## 安装
|
||||||
#### 下载即用
|
#### 下载即用
|
||||||
最新发布版本: https://github.com/mayswind/AriaNg/releases
|
最新发布版本: [https://github.com/mayswind/AriaNg/releases](https://github.com/mayswind/AriaNg/releases)
|
||||||
|
|
||||||
最新每日构建: https://raw.githubusercontent.com/mayswind/AriaNg/gh-pages/downloads/latest_daily_build.zip
|
最新每日构建: [https://github.com/mayswind/AriaNg-DailyBuild/archive/master.zip](https://github.com/mayswind/AriaNg-DailyBuild/archive/master.zip)
|
||||||
|
|
||||||
#### 从源代码中构建
|
#### 从源代码中构建
|
||||||
首先请确保您已经安装 [Node.js](https://nodejs.org/), [NPM](https://www.npmjs.com/) 和 [Bower](https://bower.io/). 然后下载源代码并执行以下步骤.
|
首先请确保您已经安装 [Node.js](https://nodejs.org/), [NPM](https://www.npmjs.com/) 和 [Bower](https://bower.io/). 然后下载源代码并执行以下步骤.
|
||||||
|
@ -45,7 +45,7 @@
|
||||||
构建后的内容将放置在 dist 目录中.
|
构建后的内容将放置在 dist 目录中.
|
||||||
|
|
||||||
## Demo
|
## Demo
|
||||||
请访问 http://ariang.mayswind.net/demo
|
请访问 [http://ariang.mayswind.net/latest](http://ariang.mayswind.net/latest)
|
||||||
|
|
||||||
## 协议
|
## 协议
|
||||||
[MIT](https://github.com/mayswind/AriaNg/blob/master/LICENSE)
|
[MIT](https://github.com/mayswind/AriaNg/blob/master/LICENSE)
|
||||||
|
|
12
README.md
12
README.md
|
@ -3,10 +3,10 @@
|
||||||
[![Lastest Build](https://img.shields.io/circleci/project/mayswind/AriaNg.svg?style=flat)](https://circleci.com/gh/mayswind/AriaNg/tree/master)
|
[![Lastest Build](https://img.shields.io/circleci/project/mayswind/AriaNg.svg?style=flat)](https://circleci.com/gh/mayswind/AriaNg/tree/master)
|
||||||
[![Lastest Release](https://img.shields.io/github/release/mayswind/AriaNg.svg?style=flat)](https://github.com/mayswind/AriaNg/releases)
|
[![Lastest Release](https://img.shields.io/github/release/mayswind/AriaNg.svg?style=flat)](https://github.com/mayswind/AriaNg/releases)
|
||||||
|
|
||||||
[简体中文说明 (Simplified Chinese)](https://github.com/mayswind/AriaNg/blob/master/README-CHS.md)
|
[简体中文说明 (Simplified Chinese README)](https://github.com/mayswind/AriaNg/blob/master/README-CHS.md)
|
||||||
|
|
||||||
## Introduction
|
## Introduction
|
||||||
A Better Web Frontend for [aria2](https://github.com/aria2/aria2) (aria2 is a cross-platform download utility). AriaNg is written in pure html & javascript, so it does not need to be compiled and not need any runtime environment, and you just need to open it in your browser. By using responsive layout, you can open it on any desktop or mobile devices.
|
A Better Web Frontend for [aria2](https://github.com/aria2/aria2). AriaNg is written in pure html & javascript, so it does not need to be compiled and not need any runtime environment, and you just need to open it in your browser. By using responsive layout, you can open it on any desktop or mobile devices.
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
1. Pure Html & Javascript, no runtime required
|
1. Pure Html & Javascript, no runtime required
|
||||||
|
@ -19,7 +19,7 @@ A Better Web Frontend for [aria2](https://github.com/aria2/aria2) (aria2 is a cr
|
||||||
* Filter files of tasks in file types (by videos, audios, pictures, documents, applications, archives, etc.)
|
* Filter files of tasks in file types (by videos, audios, pictures, documents, applications, archives, etc.)
|
||||||
* Download/upload history chart of global or task
|
* Download/upload history chart of global or task
|
||||||
* Full support of aria2 settings
|
* Full support of aria2 settings
|
||||||
4. Add new download task by requesting url (http://AriaNgUrl/#/new/url_base64)
|
4. Command line api support
|
||||||
5. Download finished notification
|
5. Download finished notification
|
||||||
6. Multi-languages support
|
6. Multi-languages support
|
||||||
7. Multi aria2 RPC host support
|
7. Multi aria2 RPC host support
|
||||||
|
@ -33,9 +33,9 @@ A Better Web Frontend for [aria2](https://github.com/aria2/aria2) (aria2 is a cr
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
#### Prebuilt release
|
#### Prebuilt release
|
||||||
Latest Release: https://github.com/mayswind/AriaNg/releases
|
Latest Release: [https://github.com/mayswind/AriaNg/releases](https://github.com/mayswind/AriaNg/releases)
|
||||||
|
|
||||||
Latest Daily Build: https://github.com/mayswind/AriaNg/archive/daily-build.zip
|
Latest Daily Build: [https://github.com/mayswind/AriaNg-DailyBuild/archive/master.zip](https://github.com/mayswind/AriaNg-DailyBuild/archive/master.zip)
|
||||||
|
|
||||||
#### Building from source
|
#### Building from source
|
||||||
Make sure you have [Node.js](https://nodejs.org/), [NPM](https://www.npmjs.com/) and [Bower](https://bower.io/) installed. Then download the source code, and follow these steps.
|
Make sure you have [Node.js](https://nodejs.org/), [NPM](https://www.npmjs.com/) and [Bower](https://bower.io/) installed. Then download the source code, and follow these steps.
|
||||||
|
@ -47,7 +47,7 @@ Make sure you have [Node.js](https://nodejs.org/), [NPM](https://www.npmjs.com/)
|
||||||
The builds will be placed in the dist directory.
|
The builds will be placed in the dist directory.
|
||||||
|
|
||||||
## Demo
|
## Demo
|
||||||
Please visit http://ariang.mayswind.net/demo
|
Please visit [http://ariang.mayswind.net/latest](http://ariang.mayswind.net/latest)
|
||||||
|
|
||||||
## License
|
## License
|
||||||
[MIT](https://github.com/mayswind/AriaNg/blob/master/LICENSE)
|
[MIT](https://github.com/mayswind/AriaNg/blob/master/LICENSE)
|
||||||
|
|
|
@ -3,26 +3,16 @@ if [ $CI == "true" ] && [ $CIRCLE_BRANCH == "master" ]; then
|
||||||
git config --global user.email "CircleCI";
|
git config --global user.email "CircleCI";
|
||||||
|
|
||||||
echo "Publishing daily build...";
|
echo "Publishing daily build...";
|
||||||
cp dist $CIRCLE_ARTIFACTS/ -r;
|
git clone https://github.com/mayswind/AriaNg-DailyBuild.git $CIRCLE_ARTIFACTS/AriaNg-DailyBuild/
|
||||||
cp LICENSE $CIRCLE_ARTIFACTS/;
|
|
||||||
|
|
||||||
git checkout -b daily-build remotes/origin/daily-build;
|
rm -rf $CIRCLE_ARTIFACTS/AriaNg-DailyBuild/*
|
||||||
|
cp dist/* $CIRCLE_ARTIFACTS/AriaNg-DailyBuild/ -r;
|
||||||
|
|
||||||
rm -rf css;
|
cd $CIRCLE_ARTIFACTS/AriaNg-DailyBuild/;
|
||||||
rm -rf fonts;
|
|
||||||
rm -rf js;
|
|
||||||
rm -rf langs;
|
|
||||||
rm -rf imgs;
|
|
||||||
rm -f index.html;
|
|
||||||
rm -f index.manifest;
|
|
||||||
rm -f LICENSE;
|
|
||||||
|
|
||||||
cp $CIRCLE_ARTIFACTS/dist/* ./ -r;
|
|
||||||
mv $CIRCLE_ARTIFACTS/LICENSE ./;
|
|
||||||
|
|
||||||
git add -A;
|
git add -A;
|
||||||
git commit -a -m "daily build #$CIRCLE_SHA1";
|
git commit -a -m "daily build #$CIRCLE_SHA1";
|
||||||
git push origin daily-build;
|
git push origin master;
|
||||||
|
|
||||||
echo "Done.";
|
echo "Done.";
|
||||||
fi
|
fi
|
||||||
|
|
Reference in a new issue