summaryrefslogtreecommitdiff
path: root/tools/release/sources.sh
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2024-04-17 17:59:58 -0400
committerSolomon Peachy <pizza@shaftnet.org>2024-04-17 22:10:52 -0400
commitac9003546f99250fc1b129edd804496f69c3ef1a (patch)
treec6fc3609cda0336c3779045dec7fd00773411ea3 /tools/release/sources.sh
parentc38aeb3fbc6b45e5a71af4506c79459ce9cb2121 (diff)
downloadrockbox-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-xtools/release/sources.sh13
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
3set -e
4set -x
5
6tag=$1
7version=$2
8
9outdir="output/source"
10
11mkdir -p "${outdir}"
12git archive --prefix=rockbox-$version/ -o "${outdir}/rockbox-source-${version}.tar" ${tag}
13xz -f "${outdir}/rockbox-source-${version}.tar"