Skip to content

Commit

Permalink
Merge pull request #74 from md5/fix-stackbrew-library-output
Browse files Browse the repository at this point in the history
Fix broken output for current weekly and LTS releases
  • Loading branch information
ndeloof committed Mar 17, 2015
2 parents 28c5dee + f92a05b commit e357803
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions generate-stackbrew-library.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ echo '# maintainer: Michael Neale <mneale@cloudbees.com> (@michaelneale)'

echo
echo "# group: Current Releases"
for current in $(IFS=$'\n'; sort -V <<< "${!aliases[*]}"); do
commit="$(git log -1 --format='format:%H' -- "$current")"
for va in "$current" ${aliases[$current]}; do
for version in $(IFS=$'\n'; sort -V <<< "${!aliases[*]}"); do
commit="$(git log -1 --format='format:%H' -- "$version")"
for va in "$version" ${aliases[$version]}; do
echo "$va: ${url}@${commit} $version"
done
echo
Expand Down

0 comments on commit e357803

Please sign in to comment.