|
|
@ -22,7 +22,8 @@ SOCKET=$(mktemp -u) |
|
|
|
ssh -M -f -N -o ControlPath=$SOCKET -l $ME $SERVER |
|
|
|
ssh -M -f -N -o ControlPath=$SOCKET -l $ME $SERVER |
|
|
|
|
|
|
|
|
|
|
|
# Tag GIT using the version in the spec file |
|
|
|
# Tag GIT using the version in the spec file |
|
|
|
git tag -f $VERSION 2>&1 > /dev/null |
|
|
|
TAG=$VERSION"_"$DIST |
|
|
|
|
|
|
|
git tag -f $TAG 2>&1 > /dev/null |
|
|
|
|
|
|
|
|
|
|
|
# Create needed dirs on the build box |
|
|
|
# Create needed dirs on the build box |
|
|
|
ssh -o ControlPath=$SOCKET -l $ME $SERVER mkdir -p rpmbuild/{RPMS,SRPMS,SPECS,SOURCES} |
|
|
|
ssh -o ControlPath=$SOCKET -l $ME $SERVER mkdir -p rpmbuild/{RPMS,SRPMS,SPECS,SOURCES} |
|
|
|