Skip to content

Commit

Permalink
Bump version to 2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Mar 17, 2023
1 parent fa4a5f3 commit 3a28da0
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
files = Cargo.toml README.md openwrt/aliyundrive-webdav/Makefile openwrt/luci-app-aliyundrive-webdav/Makefile snap/snapcraft.yaml
commit = False
tag = False
current_version = 2.0.5
current_version = 2.1.0
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to this project will be documented in this file.

## 2.1.0

* 增加 `--redirect` 参数用于启用 302 重定向

## 2.0.0

* 切换到阿里云盘开放平台接口
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "aliyundrive-webdav"
version = "2.0.5"
version = "2.1.0"
edition = "2021"
description = "WebDAV server for AliyunDrive"
license = "MIT"
Expand Down
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ sudo snap install aliyundrive-webdav
aarch64/arm/mipsel/x86_64/i686 等架构的版本,可以下载后使用 opkg 安装,以 nanopi r4s 为例:

```bash
wget https://github.com/messense/aliyundrive-webdav/releases/download/v2.0.5/aliyundrive-webdav_2.0.5-1_aarch64_generic.ipk
wget https://github.com/messense/aliyundrive-webdav/releases/download/v2.0.5/luci-app-aliyundrive-webdav_2.0.5_all.ipk
wget https://github.com/messense/aliyundrive-webdav/releases/download/v2.0.5/luci-i18n-aliyundrive-webdav-zh-cn_2.0.5-1_all.ipk
opkg install aliyundrive-webdav_2.0.5-1_aarch64_generic.ipk
opkg install luci-app-aliyundrive-webdav_2.0.5_all.ipk
opkg install luci-i18n-aliyundrive-webdav-zh-cn_2.0.5-1_all.ipk
wget https://github.com/messense/aliyundrive-webdav/releases/download/v2.1.0/aliyundrive-webdav_2.1.0-1_aarch64_generic.ipk
wget https://github.com/messense/aliyundrive-webdav/releases/download/v2.1.0/luci-app-aliyundrive-webdav_2.1.0_all.ipk
wget https://github.com/messense/aliyundrive-webdav/releases/download/v2.1.0/luci-i18n-aliyundrive-webdav-zh-cn_2.1.0-1_all.ipk
opkg install aliyundrive-webdav_2.1.0-1_aarch64_generic.ipk
opkg install luci-app-aliyundrive-webdav_2.1.0_all.ipk
opkg install luci-i18n-aliyundrive-webdav-zh-cn_2.1.0-1_all.ipk
```

其它 CPU 架构的路由器可在 [GitHub Releases](https://github.com/messense/aliyundrive-webdav/releases) 页面中查找对应的架构的主程序 ipk 文件下载安装, 常见
Expand Down Expand Up @@ -167,6 +167,7 @@ Options:
--no-self-upgrade Disable self auto upgrade
--skip-upload-same-size Skip uploading same size file
--prefer-http-download Prefer downloading using HTTP protocol
--redirect Enable 302 redirect when possible
-h, --help Print help
-V, --version Print version
```
Expand Down
2 changes: 1 addition & 1 deletion openwrt/aliyundrive-webdav/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=aliyundrive-webdav
PKG_VERSION:=2.0.5
PKG_VERSION:=2.1.0
PKG_RELEASE:=1

PKG_LICENSE:=MIT
Expand Down
2 changes: 1 addition & 1 deletion openwrt/luci-app-aliyundrive-webdav/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=luci-app-aliyundrive-webdav
PKG_VERSION:=2.0.5
PKG_VERSION:=2.1.0
PKG_RELEASE:=1
PKG_PO_VERSION:=$(PKG_VERSION)-$(PKG_RELEASE)

Expand Down
2 changes: 1 addition & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: aliyundrive-webdav
version: '2.0.5'
version: '2.1.0'
summary: 阿里云盘 WebDAV
description: |
阿里云盘 WebDAV 服务
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ struct Opt {
#[arg(long)]
prefer_http_download: bool,
/// Enable 302 redirect when possible
#[arg(long, hide = true)]
#[arg(long)]
redirect: bool,

#[command(subcommand)]
Expand Down

0 comments on commit 3a28da0

Please sign in to comment.