@@ -125,20 +125,20 @@ fmtcheck: ## Checks for style violation using gofmt
125
125
release : fmtcheck embed_bundle
126
126
mkdir $(RELEASE_DIR )
127
127
128
- @mkdir -p $(BUILD_DIR ) /crc-$( CRC_VERSION ) - darwin-amd64
129
- @cp LICENSE $(BUILD_DIR ) /darwin-amd64/crc $(BUILD_DIR ) /crc-$( CRC_VERSION ) - darwin-amd64
130
- tar cJSf $(RELEASE_DIR ) /crc-$( CRC_VERSION ) - darwin-amd64.tar.xz -C $(BUILD_DIR ) crc- $( CRC_VERSION ) -darwin-amd64
131
- sha256sum $(RELEASE_DIR ) /crc-$( CRC_VERSION ) - darwin-amd64.tar.xz > $(RELEASE_DIR ) /sha256sum.txt
132
-
133
- @mkdir -p $(BUILD_DIR)/crc-$(CRC_VERSION)- linux-amd64
134
- @cp LICENSE $(BUILD_DIR)/linux-amd64/crc $(BUILD_DIR)/crc-$(CRC_VERSION)- linux-amd64
135
- tar cJSf $(RELEASE_DIR)/crc-$(CRC_VERSION)- linux-amd64.tar.xz -C $(BUILD_DIR) crc-$(CRC_VERSION) -linux-amd64
136
- sha256sum $(RELEASE_DIR)/crc-$(CRC_VERSION)- linux-amd64.tar.xz >> $(RELEASE_DIR)/sha256sum.txt
128
+ @mkdir -p $(BUILD_DIR ) /crc-darwin-amd64
129
+ @cp LICENSE $(BUILD_DIR ) /darwin-amd64/crc $(BUILD_DIR ) /crc-darwin-amd64
130
+ tar cJSf $(RELEASE_DIR ) /crc-darwin-amd64.tar.xz -C $(BUILD_DIR ) crc-darwin-amd64
131
+ sha256sum $(RELEASE_DIR ) /crc-darwin-amd64.tar.xz > $(RELEASE_DIR ) /sha256sum.txt
132
+
133
+ @mkdir -p $(BUILD_DIR)/crc-linux-amd64
134
+ @cp LICENSE $(BUILD_DIR)/linux-amd64/crc $(BUILD_DIR)/crc-linux-amd64
135
+ tar cJSf $(RELEASE_DIR)/crc-linux-amd64.tar.xz -C $(BUILD_DIR) crc-linux-amd64
136
+ sha256sum $(RELEASE_DIR)/crc-linux-amd64.tar.xz >> $(RELEASE_DIR)/sha256sum.txt
137
137
138
- @mkdir -p $(BUILD_DIR)/crc-$(CRC_VERSION)- windows-amd64
139
- @cp LICENSE $(BUILD_DIR)/windows-amd64/crc.exe $(BUILD_DIR)/crc-$(CRC_VERSION)- windows-amd64
140
- cd $(BUILD_DIR) && zip -r $(CURDIR)/$(RELEASE_DIR)/crc-$(CRC_VERSION)- windows-amd64.zip crc-$(CRC_VERSION) -windows-amd64
141
- sha256sum $(RELEASE_DIR)/crc-$(CRC_VERSION)- windows-amd64.zip >> $(RELEASE_DIR)/sha256sum.txt
138
+ @mkdir -p $(BUILD_DIR)/crc-windows-amd64
139
+ @cp LICENSE $(BUILD_DIR)/windows-amd64/crc.exe $(BUILD_DIR)/crc-windows-amd64
140
+ cd $(BUILD_DIR) && zip -r $(CURDIR)/$(RELEASE_DIR)/crc-windows-amd64.zip crc-windows-amd64
141
+ sha256sum $(RELEASE_DIR)/crc-windows-amd64.zip >> $(RELEASE_DIR)/sha256sum.txt
142
142
143
143
BUNDLES := $(BUNDLE_DIR ) /crc_libvirt_$(BUNDLE_VERSION ) .$(BUNDLE_EXTENSION ) \
144
144
$(BUNDLE_DIR ) /crc_libvirt_$(BUNDLE_VERSION ) .$(BUNDLE_EXTENSION ) \
0 commit comments