mirror of
https://github.com/zigzap/zap.git
synced 2025-10-20 15:14:08 +00:00
add static pkghash exe to workflow
This commit is contained in:
parent
d624263e81
commit
9938667ad1
5 changed files with 10 additions and 10 deletions
14
.github/workflows/release.yml
vendored
14
.github/workflows/release.yml
vendored
|
@ -28,13 +28,13 @@ jobs:
|
|||
run: |
|
||||
echo "::set-output name=version::${GITHUB_REF#refs/tags/}"
|
||||
|
||||
- uses: goto-bus-stop/setup-zig@v2
|
||||
with:
|
||||
version: master
|
||||
- name: Check zig version
|
||||
run: zig version
|
||||
- name: Build pkghash tool
|
||||
run: zig build pkghash
|
||||
# - uses: goto-bus-stop/setup-zig@v2
|
||||
# with:
|
||||
# version: master
|
||||
# - name: Check zig version
|
||||
# run: zig version
|
||||
# - name: Build pkghash tool
|
||||
# run: zig build pkghash
|
||||
|
||||
- name: Generate release notes
|
||||
id: release_notes
|
||||
|
|
|
@ -25,7 +25,7 @@ def get_tag_annotation(tagname):
|
|||
|
||||
def get_replacement():
|
||||
ret = subprocess.run([
|
||||
"./zig-out/bin/pkghash",
|
||||
"./tools/pkghash",
|
||||
"-g", f"--tag={TAG_NAME}",
|
||||
"--template=./tools/announceybot/release-dep-update-template.md",
|
||||
], capture_output=True)
|
||||
|
|
|
@ -14,7 +14,7 @@ def get_tag_annotation(tagname):
|
|||
|
||||
def get_replacement():
|
||||
ret = subprocess.run([
|
||||
"./zig-out/bin/pkghash",
|
||||
"./tools/pkghash",
|
||||
"-g", f"--tag={TAG_NAME}",
|
||||
"--template=./tools/announceybot/release-note-template.md",
|
||||
], capture_output=True)
|
||||
|
|
|
@ -27,7 +27,7 @@ REPLACE_END_MARKER = '<!-- INSERT_DEP_END -->'
|
|||
|
||||
def get_replacement():
|
||||
ret = subprocess.run([
|
||||
"./zig-out/bin/pkghash",
|
||||
"./tools/pkghash",
|
||||
"-g", f"--tag={TAG_NAME}",
|
||||
"--template=./tools/announceybot/release-dep-update-template.md",
|
||||
], capture_output=True)
|
||||
|
|
BIN
tools/pkghash
Executable file
BIN
tools/pkghash
Executable file
Binary file not shown.
Loading…
Add table
Reference in a new issue