#!/bin/bash -xe

# Set the base RPC-O directory which the functions use
export BASE_DIR="${PWD}"

# Source the functions
source "${BASE_DIR}/scripts/functions.sh"

rpc-differ \
  --debug \
  -rp ${RPC_PRODUCT_RELEASE} \
  -rr "ansible-role-${RPC_PRODUCT_RELEASE}-requirements.yml" \
  -r "$REPO_URL" \
  --update \
  "$PREVIOUS_TAG" \
  "$NEW_TAG" \
  --file diff_notes.rst
pandoc --from rst --to markdown_github < diff_notes.rst > diff_notes.md

#!/bin/bash -xe

# Set the base RPC-O directory which the functions use
export BASE_DIR="${PWD}"

# Source the functions
source "${BASE_DIR}/scripts/functions.sh"

rpc-differ --debug -rp ${RPC_PRODUCT_RELEASE} -rr "ansible-role-${RPC_PRODUCT_RELEASE}-requirements.yml" -r "$REPO_URL" --update "$PREVIOUS_TAG" "$NEW_TAG" --file diff_notes.rst
pandoc --from rst --to markdown_github < diff_notes.rst > diff_notes.md

--- 
+++ 
@@ -6,5 +6,13 @@
 # Source the functions
 source "${BASE_DIR}/scripts/functions.sh"
 
-rpc-differ --debug -rp ${RPC_PRODUCT_RELEASE} -rr "ansible-role-${RPC_PRODUCT_RELEASE}-requirements.yml" -r "$REPO_URL" --update "$PREVIOUS_TAG" "$NEW_TAG" --file diff_notes.rst
+rpc-differ \
+  --debug \
+  -rp ${RPC_PRODUCT_RELEASE} \
+  -rr "ansible-role-${RPC_PRODUCT_RELEASE}-requirements.yml" \
+  -r "$REPO_URL" \
+  --update \
+  "$PREVIOUS_TAG" \
+  "$NEW_TAG" \
+  --file diff_notes.rst
 pandoc --from rst --to markdown_github < diff_notes.rst > diff_notes.md
Improve readability of rpc-differ arguments
