diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2024-04-17 17:59:58 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2024-04-17 22:10:52 -0400 |
commit | ac9003546f99250fc1b129edd804496f69c3ef1a (patch) | |
tree | c6fc3609cda0336c3779045dec7fd00773411ea3 /tools/release/sources.sh | |
parent | c38aeb3fbc6b45e5a71af4506c79459ce9cb2121 (diff) | |
download | rockbox-ac9003546f99250fc1b129edd804496f69c3ef1a.tar.gz rockbox-ac9003546f99250fc1b129edd804496f69c3ef1a.zip |
release: Revamp release scripts
Covers bins, voices, manuals, fonts, and source tarballs.
Only thing remaining is build-info integration
Change-Id: I3a93fd87bbeb725fc8e1b38c5787e33fa00f3f37
Diffstat (limited to 'tools/release/sources.sh')
-rwxr-xr-x | tools/release/sources.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/release/sources.sh b/tools/release/sources.sh new file mode 100755 index 0000000000..2e9dd30bde --- /dev/null +++ b/tools/release/sources.sh | |||
@@ -0,0 +1,13 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | set -e | ||
4 | set -x | ||
5 | |||
6 | tag=$1 | ||
7 | version=$2 | ||
8 | |||
9 | outdir="output/source" | ||
10 | |||
11 | mkdir -p "${outdir}" | ||
12 | git archive --prefix=rockbox-$version/ -o "${outdir}/rockbox-source-${version}.tar" ${tag} | ||
13 | xz -f "${outdir}/rockbox-source-${version}.tar" | ||