diff --git a/.goreleaser.yml b/.goreleaser.yml index 4d4fd30..8631cf0 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -4,7 +4,7 @@ before: hooks: # You may remove this if you don't use go modules. - go mod tidy - # - ./scripts/install-kcl-lsp-all.sh + - ./scripts/install-kcl-lsp-all.sh # .goreleaser.yml builds: @@ -32,8 +32,8 @@ archives: - goos: windows format: zip # Put kcl-language-server binaries into add to the kcl archive. - # files: - # - ./bin/kcl-lsp-v{{ .Version }}-{{ .Os }}-{{ .Arch }}/* + files: + - ./bin/kcl-lsp-v{{ .Version }}-{{ .Os }}-{{ .Arch }}/* brews: - tap: diff --git a/Dockerfile b/Dockerfile index fdfd8df..f2f40b7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,4 +12,8 @@ RUN /usr/local/bin/kcl RUN cp -r /root/go/bin/* /usr/local/bin/ RUN apt-get update RUN apt-get install gcc -y +# The reason for doing this below is to prevent the +# container from not having write permissions. ENV KCL_GO_DISABLE_ARTIFACT=on +ENV KCL_PKG_PATH=/tmp +ENV KCL_CACHE_PATH=/tmp diff --git a/VERSION b/VERSION index d5cc44d..0f7643f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.7.2 \ No newline at end of file +0.7.3-alpha.1 \ No newline at end of file diff --git a/pkg/version/version.go b/pkg/version/version.go index 34d41f9..efe0273 100644 --- a/pkg/version/version.go +++ b/pkg/version/version.go @@ -33,8 +33,9 @@ func getVersion(version string) string { // All the kpm versions. const ( - VersionTypeLatest = Version_0_7_2 + VersionTypeLatest = Version_0_7_3_alpha_1 + Version_0_7_3_alpha_1 VersionType = "0.7.3-alpha.1" Version_0_7_2 VersionType = "0.7.2" Version_0_7_1 VersionType = "0.7.1" Version_0_7_0 VersionType = "0.7.0"