#!/bin/bash
task_id=$1
subtask_id=$2

. /usr/bin/mithraen-build-utils-functions

tag=`git describe --abbrev=0 `
repo=`gitalt_get_repo`

echo "tag: $tag"
echo "repo: $repo"

git.alt task add "$task_id" "$subtask_id" repo "$repo" "$tag" \
    2>&1 \
    | csed '/not\ found/ p red,bold'

exit $?
