diff options
| author | Natanael Copa <ncopa@alpinelinux.org> | 2014-11-26 14:46:47 +0000 |
|---|---|---|
| committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-11-26 14:46:47 +0000 |
| commit | 9fea4debc67d5ffd4d1a1aeacf88291bca51bee5 (patch) | |
| tree | 9e000a8a80578537f18ef4b6ff59d7ef43faa8bf | |
| parent | 60e20c874324fa67068f291f6a6202dc45c4b49e (diff) | |
| download | alpine-iso-9fea4debc67d5ffd4d1a1aeacf88291bca51bee5.tar.bz2 alpine-iso-9fea4debc67d5ffd4d1a1aeacf88291bca51bee5.tar.xz | |
mklatest: don't generate .latest.txt
users should use .yaml instead
| -rw-r--r-- | mklatest.sh | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/mklatest.sh b/mklatest.sh index e13fc68..d14f34f 100644 --- a/mklatest.sh +++ b/mklatest.sh @@ -1,7 +1,7 @@ #!/bin/sh -# create .latest.txt file for mirrors -# usage: +# create latest-releases.yaml file for mirrors + arch=$(uname -m) case "$(uname -m)" in i[0-9]86) arch=x86;; @@ -14,7 +14,6 @@ else branch=v${current%.*} fi releasedir="$branch/releases/$arch" -target=.latest.txt do_stat() { for f in *-$current-$arch.iso; do @@ -49,7 +48,5 @@ do_yaml() { } do_stat || exit 1 -do_stat > $target - do_yaml > latest-releases.yaml |
