File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -16,14 +16,13 @@ ENV LC_ALL C.UTF-8
1616ENV LANG en_US.UTF-8
1717ENV 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
2121RUN 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
Original file line number Diff line number Diff line change @@ -17,6 +17,5 @@ package main
1717import "github.com/xiexianbin/golib/logger"
1818
1919func showVersion () {
20- //logger.Print("v0.1.0")
21- logger .Print ("main" )
20+ logger .Print ("v0.2.4" )
2221}
You can’t perform that action at this time.
0 commit comments