File tree 1 file changed +8
-5
lines changed
1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -101,27 +101,30 @@ build-fat build-full build: $(CODER_FAT_BINARIES)
101
101
release : $(CODER_FAT_BINARIES ) $(CODER_ALL_ARCHIVES ) $(CODER_ALL_PACKAGES ) $(CODER_ARCH_IMAGES ) build/coder_helm_$(VERSION ) .tgz
102
102
.PHONY : release
103
103
104
- build/coder-slim_$(VERSION ) _checksums.sha1 site/out/bin/coder.sha1 : $(CODER_SLIM_BINARIES )
104
+ build/coder-slim_$(VERSION ) _checksums.sha1 : site/out/bin/coder.sha1
105
+ cp " $<" " $@ "
106
+
107
+ site/out/bin/coder.sha1 : $(CODER_SLIM_BINARIES )
105
108
pushd ./site/out/bin
106
109
openssl dgst -r -sha1 coder-* | tee coder.sha1
107
110
popd
108
111
109
- cp "site/out/bin/coder.sha1" "build/coder-slim_$(VERSION)_checksums.sha1"
110
-
111
112
build/coder-slim_$(VERSION ) .tar : build/coder-slim_$(VERSION ) _checksums.sha1 $(CODER_SLIM_BINARIES )
112
113
pushd ./site/out/bin
113
114
tar cf " ../../../build/$( @F) " coder-*
114
115
popd
115
116
116
- build/coder-slim_$(VERSION ) .tar.zst site/out/bin/coder.tar.zst : build/coder-slim_$(VERSION ) .tar
117
+ site/out/bin/coder.tar.zst : build/coder-slim_$(VERSION ) .tar.zst
118
+ cp " $<" " $@ "
119
+
120
+ build/coder-slim_$(VERSION ) .tar.zst : build/coder-slim_$(VERSION ) .tar
117
121
zstd $(ZSTDFLAGS ) \
118
122
--force \
119
123
--long \
120
124
--no-progress \
121
125
-o " build/coder-slim_$( VERSION) .tar.zst" \
122
126
" build/coder-slim_$( VERSION) .tar"
123
127
124
- cp "build/coder-slim_$(VERSION).tar.zst" "site/out/bin/coder.tar.zst"
125
128
# delete the uncompressed binaries from the embedded dir
126
129
rm site/out/bin/coder-*
127
130
You can’t perform that action at this time.
0 commit comments