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