Skip to content

Commit ebe2823

Browse files
Artifact names to match previous:
Previous builds used _ instead of - This goes back to _ so as to not break backwards compatibility. Also fix checksum.txt to not have the out/ directory in it. Signed-off-by: Jacob Weinstock <[email protected]>
1 parent c02ec37 commit ebe2823

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/build-all-matrix.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,6 @@ jobs:
186186
with:
187187
pattern: "hook-tarball-*"
188188
merge-multiple: true
189-
path: out
190189

191190
- name: Figure Out Commit Short ID
192191
id: commitid
@@ -227,15 +226,15 @@ jobs:
227226
uses: jmgilman/actions-generate-checksum@v1
228227
with:
229228
method: sha512
230-
patterns: out/*.tar.gz
229+
patterns: *.tar.gz
231230

232231
- name: Update latest release
233232
uses: softprops/action-gh-release@v2
234233
with:
235234
name: Hook Latest Development Build
236235
body: ${{env.RELEASE_NOTES}}
237236
files: |
238-
out/*.tar.gz
237+
*.tar.gz
239238
checksum.txt
240239
prerelease: true
241240
tag_name: latest

bash/linuxkit.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ function linuxkit_build() {
141141

142142
# tar the files into out/hook.tar in such a way that vmlinuz and initramfs are at the root of the tar; pigz it
143143
# Those are the artifacts published to the GitHub release
144-
tar -cvf- -C "out/hook" "${output_files[@]}" | pigz > "out/hook-${OUTPUT_ID}.tar.gz"
144+
tar -cvf- -C "out/hook" "${output_files[@]}" | pigz > "out/hook_${OUTPUT_ID}.tar.gz"
145145
}
146146

147147
function linuxkit_run_qemu() {

0 commit comments

Comments
 (0)