Skip to content

Commit

Permalink
Fix outdated rosdoc URL
Browse files Browse the repository at this point in the history
  • Loading branch information
jlblancoc committed Nov 15, 2021
1 parent c54d05f commit 8369110
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 12 deletions.
2 changes: 1 addition & 1 deletion doc/rosdoc.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
- builder: external
external_url: http://mrpt.ual.es/reference/master/
external_url: https://docs.mrpt.org/reference/latest/
38 changes: 27 additions & 11 deletions packaging/make_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,29 @@
set -e # exit on error

APPEND_SNAPSHOT_NUM=0
APPEND_LINUX_DISTRO=""

while getopts "s" OPTION
while getopts "hsd:" OPTION
do
case $OPTION in
s)
APPEND_SNAPSHOT_NUM=1
;;
?)
echo "Unknown command line argument!"
exit 1
;;
esac
case $OPTION in
s)
APPEND_SNAPSHOT_NUM=1
;;
d)
APPEND_LINUX_DISTRO=$OPTARG
;;
h)
echo "Usage: $0 [-d <DISTRIBUTION>] [-s]"
echo " With:"
echo " - s: Appends a snapshot postfix to the tarball name."
echo
exit 0
;;
?)
echo "Unknown command line argument!"
exit 1
;;
esac
done

# Sets the bash variables:
Expand All @@ -46,11 +57,16 @@ if [ $APPEND_SNAPSHOT_NUM == "1" ];
then
# Get snapshot version number:
CUR_SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source $CUR_SCRIPT_DIR/generate_snapshot_version.sh # populate MRPT_SNAPSHOT_VERSION
source "$CUR_SCRIPT_DIR/generate_snapshot_version.sh" # populate MRPT_SNAPSHOT_VERSION

MRPT_VERSION_STR="${MRPT_VERSION_STR}~${MRPT_SNAPSHOT_VERSION}"
fi

if [ "$APPEND_LINUX_DISTRO" != "" ];
then
MRPT_VERSION_STR="${MRPT_VERSION_STR}~${APPEND_LINUX_DISTRO}"
fi

MRPTSRC=$(pwd)
OUT_RELEASES_DIR="$HOME/mrpt_release"

Expand Down

0 comments on commit 8369110

Please sign in to comment.