File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -6,4 +6,18 @@ tar_args=$(while IFS= read -r line; do echo " --exclude=$line"; done <<<"$exclud
66version=$( awk ' /version =/ {print $3}' typst.toml | sed ' s/"//g' )
77tar_args+=" --exclude-vcs-ignores -czf ../glossarium-$version .tar.gz ."
88tar $tar_args
9- tar -tf ../glossarium-$version .tar.gz
9+ tar -tf ~ /glossarium-$version .tar.gz
10+ cd ~
11+ rm packages
12+ git clone --depth 1 --no-checkout --filter=
" tree:0" [email protected] :typst/packages
13+ cd packages
14+ git sparse-checkout init
15+ git sparse-checkout set packages/preview/glossarium
16+ git checkout main
17+ mkdir packages/previw/glossarium/$version
18+ tar -xvf ~ /glossarium-$version .tar.gz -C packages/preview/glossarium/$version
19+ git add packages
20+ git commit
21+ gh repo fork
22+ gh repo set-default typst/packages
23+ gh pr create --fill
You can’t perform that action at this time.
0 commit comments