Skip to content

Commit 01629cb

Browse files
committed
fix(ci): using -C to archive release artifact
1 parent c59e45d commit 01629cb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Should trim prefix `refs/tags/` from tag name
2-
name-template: "$BASE_REF_NAME 🌈"
3-
tag-template: "$BASE_REF_NAME"
2+
name-template: $BASE_REF_NAME 🌈
3+
tag-template: $BASE_REF_NAME
44
template: |
55
## Changes
66
$CHANGES

.github/workflows/build-release-artifacts-and-draft-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ jobs:
6161
name: chatsh-darwin
6262
path: target/release/darwin/chatsh
6363
- name: Archive Linux Artifact
64-
run: tar -czvf target/release/chatsh-linux_x86_64.tar.gz target/release/linux/chatsh
64+
run: tar -czvf target/release/chatsh-linux_x86_64.tar.gz -C target/release/linux chatsh
6565
- name: Archive Darwin Artifact
66-
run: tar -czvf target/release/chatsh-darwin_x86_64.tar.gz target/release/darwin/chatsh
66+
run: tar -czvf target/release/chatsh-darwin_x86_64.tar.gz -C target/release/darwin chatsh
6767
- name: Calculate Checksums
6868
run: |
6969
cd target/release

0 commit comments

Comments
 (0)