Skip to content

Commit 5fba7f2

Browse files
committed
Add create_release script
1 parent ec315f4 commit 5fba7f2

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

create_release.sh

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/usr/bin/env bash
2+
# Copyright 2025 The zb Authors
3+
# SPDX-License-Identifier: MIT
4+
5+
set -euo pipefail
6+
7+
tag="$1"
8+
dir_name="zb-stdlib-${tag}"
9+
output_file="${dir_name}.tar.gz"
10+
11+
git archive \
12+
--format tar.gz \
13+
-6 \
14+
--prefix="$dir_name/" \
15+
--output="$output_file" \
16+
"$tag"
17+
sha256sum "$output_file"

0 commit comments

Comments
 (0)