diff --git a/package.json b/package.json index 5a3edcc47..cbffdf6f9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@treehouses/cli", - "version": "1.25.28", + "version": "1.25.29", "remote": "4000", "description": "Thin command-line interface for Raspberry Pi low level configuration.", "main": "cli.sh", diff --git a/tests/changelog.bats b/tests/changelog.bats index 95dcc2e5c..6f81c7d0a 100755 --- a/tests/changelog.bats +++ b/tests/changelog.bats @@ -2,8 +2,13 @@ load test-helper @test "$clinom changelog" { - cp "/usr/lib/node_modules/@treehouses/cli/CHANGELOG.md" ../. - run "${clicmd}" changelog - assert_success - rm "../CHANGELOG.md" + if [ ! -f "../CHANGELOG.md" ]; then + cp "/usr/lib/node_modules/@treehouses/cli/CHANGELOG.md" ../. + run "${clicmd}" changelog + assert_success + rm "../CHANGELOG.md" + else + run "${clicmd}" changelog + assert_success + fi } \ No newline at end of file