Commit 38ae29ed authored by Vitaly Lipatov's avatar Vitaly Lipatov

add use info (-h key)

parent 45b0a61d
#!/bin/sh
# load common functions, compatible with local and installed script
#. `dirname $0`/../share/eterbuild/functions/common
#test -n "$SPECNAME" || SPECNAME=$(basename `pwd`).spec
if [ "$1" = "-h" ] ; then
echo "ginit - initialize repo in git.alt for current project"
echo "Use: ginit without parameters"
exit 1
fi
PROJECTNAME=$(basename `pwd`)
ssh git.alt git-init-db $PROJECTNAME.git
#!/bin/sh
# load common functions, compatible with local and installed script
#. `dirname $0`/../share/eterbuild/functions/common
#test -n "$SPECNAME" || SPECNAME=$(basename `pwd`).spec
if [ "$1" = "-h" ] ; then
echo "gpush - publish current project repo to git.alt"
echo "Use: gpush without parameters"
exit 1
fi
PROJECTNAME=$(basename `pwd`)
git push $@ git.alt:packages/$PROJECTNAME.git
git push --tags git.alt:packages/$PROJECTNAME.git
#> $ git commit -a; A='0.23-alt1'; git tag -s $A; \
#> git tag -s -f -m 'Sisyphus release $A' sisyphus $A
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment