File: release_src.sh

package info (click to toggle)
soundgrain 6.0.1-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,508 kB
  • sloc: python: 4,547; sh: 42; makefile: 10
file content (17 lines) | stat: -rwxr-xr-x 367 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /bin/bash

#
# 1. change version number
# 2. Execute from soundgrain folder : ./scripts/release_src.sh
#

version=6.0.1
replace=XXX

src_rep=SoundGrain_XXX-src
src_tar=SoundGrain_XXX-src.tar.bz2

git checkout-index -a -f --prefix=${src_rep/$replace/$version}/
tar -cjvf ${src_tar/$replace/$version} ${src_rep/$replace/$version}
rm -R ${src_rep/$replace/$version}