add the dist in the tag to prevent tag conflicts with different branches

master
Daniel Berteaud 11 years ago
parent e0985eb275
commit e8d6ec7441
  1. 3
      submit

@ -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}

Loading…
Cancel
Save