Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
BeardedManZhao committed Apr 25, 2024
1 parent b297b00 commit d5343d6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ docker run -d -p 8080:8080 --name diskmirror-docker -v C:\Users\zhao\Downloads\c

### 更新记录

#### 1.0.2 → 1.0.3

- 同步最新版本信息!

#### 1.0.1 → 1.0.2

- 将配置文件的路径暴露出容器,方便用户使用卷的方式来存储配置文件,而不需要重新编译镜像
Expand Down
4 changes: 2 additions & 2 deletions script.bat
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
@echo off

echo docker 镜像安装脚本版本:1.0.2
echo docker 镜像安装脚本版本:1.0.3

set /P "version=请输入需要的版本:"

if "%version%" == "" (
set "version=2024.04.13"
set "version=2024.04.25"
)

echo "正在下载版本:%version%"
Expand Down
4 changes: 2 additions & 2 deletions script.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

echo "docker 镜像安装脚本版本:1.0.2"
echo "docker 镜像安装脚本版本:1.0.3"

version=""

Expand All @@ -9,7 +9,7 @@ read -p "请输入需要的版本:" version

# 判断用户是否输入了数据 如果没有数据就默认赋值
if [ -z "$version" ]; then
version="2024.04.13"
version="2024.04.25"
fi

echo "正在下载版本:$version"
Expand Down

0 comments on commit d5343d6

Please sign in to comment.