Skip to content

Commit d825cc4

Browse files
committed
release v0.2.4
Signed-off-by: xiexianbin <[email protected]>
1 parent 17605c8 commit d825cc4

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,13 @@ ENV LC_ALL C.UTF-8
1616
ENV LANG en_US.UTF-8
1717
ENV LANGUAGE en_US.UTF-8
1818
# change VERSION when make a release, v1.0.0
19-
ENV VERSION "latest"
19+
ENV VERSION "v0.2.4"
2020

2121
RUN apk update && \
2222
apk add --no-cache git git-lfs bash wget curl openssh-client tree && \
2323
rm -rf /var/cache/apk/* && \
2424
cd /tmp/ && \
25-
curl -s https://api.github.com/repos/x-actions/git-mirrors/releases/latest | \
26-
sed -r -n '/browser_download_url/{/git-mirrors-linux/{s@[^:]*:[[:space:]]*"([^"]*)".*@\1@g;p;q}}' | xargs wget && \
25+
wget https://github.com/x-actions/git-mirrors/releases/download/${VERSION}/git-mirrors-linux && \
2726
chmod +x /tmp/git-mirrors-linux && \
2827
mv /tmp/git-mirrors-linux /usr/local/bin/git-mirrors
2928

version.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,5 @@ package main
1717
import "github.com/xiexianbin/golib/logger"
1818

1919
func showVersion() {
20-
//logger.Print("v0.1.0")
21-
logger.Print("main")
20+
logger.Print("v0.2.4")
2221
}

0 commit comments

Comments
 (0)