Commit 59077bcb authored by Vitaly Lipatov's avatar Vitaly Lipatov Committed by Vitaly Lipatov

rpmgs: fix get tarball name

parent 004b9745
......@@ -255,13 +255,14 @@ do
# Write changelog if all done
CURVER=$(get_version $i)
CURREL=$(get_release $i)
CURNAME=$(get_tarballname $i)
EGEARME=""
is_gear && EGEARME="import in git"
add_changelog_helper "- new version ($CURVER) $EGEARME" $i || echog "Changelog entry for $CURVER-$CURREL already exists"
fi
if [ -n "$GSSETVERSION" ] && is_gear ; then
echo "Commit tarball $RPMSOURCEDIR/$FTB to git..."
gear-update "$RPMSOURCEDIR/$FTB" "$BASENAME"
gear-update "$RPMSOURCEDIR/$FTB" "$CURNAME"
git commit -m "just import $(basename $RPMSOURCEDIR/$FTB)"
else
echo "Run without version. Skip tarball commiting."
......
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