diff --git a/.craft.yml b/.craft.yml index a2a40bd..a50ac13 100644 --- a/.craft.yml +++ b/.craft.yml @@ -1,5 +1,7 @@ -minVersion: 0.23.1 -changelogPolicy: none -preReleaseCommand: bash scripts/craft-pre-release.sh +minVersion: 2.21.7 +changelog: + policy: auto +versionBump: + policy: auto targets: - name: npm diff --git a/scripts/craft-pre-release.sh b/scripts/craft-pre-release.sh deleted file mode 100644 index bd89060..0000000 --- a/scripts/craft-pre-release.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -set -eux -# Move to the project root -SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -cd $SCRIPT_DIR/.. -OLD_VERSION="${1}" -NEW_VERSION="${2}" -# Do not tag and commit changes made by "npm version" -export npm_config_git_tag_version=false -npm version "${NEW_VERSION}" \ No newline at end of file