Skip to content

Commit

Permalink
Release v16
Browse files Browse the repository at this point in the history
  • Loading branch information
hexylena committed Feb 12, 2020
1 parent d871878 commit 3785491
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 17 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# 16-pre
# 17-pre

# 16

- Fixed:
- figured out how to decode hex blobs in postgres
Expand Down
23 changes: 8 additions & 15 deletions gxadmin
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# Thanks to everyone for their contributions
# https://github.com/usegalaxy-eu/gxadmin/graphs/contributors
version() {
echo 15
echo 16
}
GXADMIN_SITE_SPECIFIC=${GXADMIN_SITE_SPECIFIC:-~/.config/gxadmin-local.sh}

Expand Down Expand Up @@ -479,7 +479,9 @@ success() {
echo "$(tput setaf 40)$*$(tput sgr0)"
}
CHANGELOG=$(cat <<EOF
# 16-pre
# 17-pre
# 16
- Fixed:
- figured out how to decode hex blobs in postgres
Expand Down Expand Up @@ -6025,9 +6027,11 @@ meta_cmdlist() {

IFS=$'\n'
# TOC
echo "## Commands"
echo
for section in $(locate_cmds_nolocal | correct_cmd | awk '{print $1}' | sort -u); do
# Progress
echo $section

# contents
echo "# $section" > "docs/README.${section}.md"
echo >> "docs/README.${section}.md"
echo "Command | Description" >> "docs/README.${section}.md"
Expand All @@ -6045,30 +6049,19 @@ meta_cmdlist() {
fi
done

echo "### $section"
echo
echo "Command | Description"
echo "------- | -----------"
for command in $(locate_cmds_nolocal | correct_cmd | grep "^$section"); do
cmd_part="$(echo "$command" | sed 's/:.*//g;s/\s*<.*//g;s/\s*\[.*//;s/\s*$//')"
desc_part="$(echo "$command" | sed 's/^[^:]*:\s*//g;s/\s*$//')"
key_part="$(echo "$cmd_part" | sed 's/ /-/g')"

if [[ "$command" != *"Deprecated"* ]]; then
# Main ToC
echo "[\`${cmd_part}\`](docs/README.${section}.md#${key_part}) | $desc_part"

# Subsec documentation
echo >> "docs/README.${section}.md"
echo "## $cmd_part" >> "docs/README.${section}.md"
echo >> "docs/README.${section}.md"
bash -c "$0 $cmd_part --help" >> "docs/README.${section}.md"
else
echo "\`${cmd_part}\` | $desc_part"
fi
done

echo
done
}

Expand Down
2 changes: 1 addition & 1 deletion parts/00-header.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
# Thanks to everyone for their contributions
# https://github.com/usegalaxy-eu/gxadmin/graphs/contributors
version() {
echo 15
echo 16
}

0 comments on commit 3785491

Please sign in to comment.