We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74077b8 commit ebd76a6Copy full SHA for ebd76a6
1 file changed
Makefile
@@ -2,7 +2,7 @@ export VERSION=3.0.6
2
export RELEASE_PATH="releases/aliyun-cli-${VERSION}"
3
4
all: build
5
-publish: build build_mac build_linux build_windows
+publish: build build_mac build_linux build_windows gen_version
6
7
deps:
8
-go get github.com/aliyun/aliyun-openapi-meta
@@ -39,6 +39,11 @@ build_windows:
39
aliyun oss cp out/aliyun-cli-windows-${VERSION}-amd64.zip oss://aliyun-cli --force --profile oss
40
rm aliyun.exe
41
42
+gen_version:
43
+ -rm out/version
44
+ echo ${VERSION} >> out/version
45
+ aliyun oss cp out/version oss://aliyun-cli --force --profile oss
46
+
47
git_release: clean build make_release_dir release_mac release_linux release_windows
48
49
make_release_dir:
0 commit comments