#!/usr/bin/sh -e

git add "$1"
ver="$(cut -d ' ' -f 1 "$1/version")"
pkg="$(echo "$1" | sed 's|/||g')"
git commit -m "$pkg: new package at $ver"
