Skip to content

Commit

Permalink
refac
Browse files Browse the repository at this point in the history
  • Loading branch information
per2jensen committed Mar 10, 2024
1 parent f1ef9d6 commit 096f3a7
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions test/test-mk-release-on-dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# - run mk-release.sh by patching it to accept a DEV tag
# - unpack the tar file and run the installer
# - run the backup up "-d dar-backup"
# - run dar-backup (full, diff and inc)

if [[ -n "$1" ]]; then
LATEST_DEV="$1"
Expand All @@ -28,11 +28,7 @@ if [[ "$LATEST_DEV" == "" ]]; then
fi
echo LATEST_DEV: "$LATEST_DEV"
# build a "release" based on latest DEV tag
/tmp/mk-release.sh "$LATEST_DEV"
if [[ "$?" != "0" ]]; then
echo a release tar ball was not produced, exiting
exit 1
fi
/tmp/mk-release.sh "$LATEST_DEV" || { echo a release tar ball was not produced, exiting; exit 1; }


UNTAR_LOCATION=/tmp/dar-test-install/
Expand Down

0 comments on commit 096f3a7

Please sign in to comment.