File: update-ebuilds.sh

package info (click to toggle)
springlobby 0.255%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 14,228 kB
  • ctags: 14,450
  • sloc: cpp: 76,178; ansic: 61,718; python: 863; sh: 654; perl: 238; xml: 52; makefile: 41; sed: 16
file content (31 lines) | stat: -rwxr-xr-x 630 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/usr/bin/env bash

set -e
#ie /home/buildbot/slaves/springlobby/release/
cd $(dirname $0)/../..

if [ $# -ne 1 ] ; then
	echo "Usage: update-ebuilds version"
	exit
fi

version=$1

overlay_origin=GG:git/koshi/overlay.git

if [ ! -d overlay ] ; then
    git clone ${overlay_origin} overlay
fi

cd overlay
git fetch
git reset --hard 
git checkout master
git reset --hard 
git merge origin/master
cd games-util/springlobby
cp springlobby-template springlobby-${version}.ebuild
ebuild springlobby-${version}.ebuild digest
git add .
git commit -m "automatic update of springlobby ebuild for automated tarball release"
git push origin