Skip to content
Permalink
Browse files

Fix changelog to ensure current repository is used

  • Loading branch information...
arnaudveron committed Jul 17, 2019
1 parent 728288a commit e89a9f9e6dbec330137cc5715d0993e2dda3a15e
Showing with 3 additions and 2 deletions.
  1. +3 −2 bin/pkg/changelog
@@ -1,5 +1,4 @@
# variables users can override in the defaults file
OSVC_ROOT_PATH="/usr/share/opensvc"
OSVC_PYTHON="python"
OSVC_PYTHON_ARGS=""

@@ -25,8 +24,10 @@ then
. "/etc/rc.config.d/opensvc"
fi

PATH_SCRIPT="$(cd $(/usr/bin/dirname $(type -p -- $0 || echo $0));pwd)"

LAST=$(git describe --abbrev=0 --tags)
COMMITS=${1:-$LAST..HEAD}
echo COMMITS=$COMMITS

$OSVC_PYTHON $OSVC_ROOT_PATH/bin/pkg/changelog.py $COMMITS
$OSVC_PYTHON $PATH_SCRIPT/changelog.py $COMMITS

0 comments on commit e89a9f9

Please sign in to comment.
You can’t perform that action at this time.