summaryrefslogtreecommitdiffstats
path: root/git/git-tag-tar-changelog.sh
blob: db97124e85c4ab2997b283b2fb3721133579ea22 (plain)
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
32
33
#! /bin/bash

artifacts=$1
shift

if [ -z "$artifacts" ] ; then
    echo Usage $0 artifacts file
    exit 1
fi

branch=master
tag_old=v2.3.2
tag=v2.4.0

sdir=`dirname $0`
thisdir=`pwd`

. $sdir/funcs_git.sh

for i in gluegen jcpp joal joal-demos jogl oculusvr-sdk jogl-demos jocl jocl-demos ; do
    sha=`grep $i.build.commit $artifacts | awk --field-separator "=" ' { print $2 } ' `
    echo $i sha $sha
    cd $i
    git checkout $branch
    git pull jogamp $branch
    #git tag -d $tag
    git tag -s -u 0x8ED60127 -m "$tag" $tag $sha
    git-new-milestone $i $tag_old $tag
    git checkout master
    cd $thisdir
    echo done $i
    echo
done