Skip to content

Commit b577763

Browse files
committed
utils: Publish-image - Also create a latest symlink for asc and torrent files
1 parent 621e82b commit b577763

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

utils/publish-image.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,8 @@ do
130130
popd
131131
link=$(echo "$file"|sed 's/'${opt_date}'/latest/g')
132132
ln -svf "images/${file}" "$link"
133+
ln -svf "images/${file}.asc" "${link}.asc"
134+
ln -svf "images/${file}.torrent" "${link}.torrent"
133135
done
134136

135137
if [ $opt_notracker = false ]; then

0 commit comments

Comments
 (0)