From 6699073937966c73e4a46c779f97ca5842ba815b Mon Sep 17 00:00:00 2001 From: paul-dingemans Date: Fri, 21 Apr 2023 17:11:25 +0200 Subject: [PATCH] Fix references to ktlint-cli module (previously 'ktlint' module) --- .github/workflows/release.yml | 2 +- .homebrew | 2 +- RELEASE_TESTING.MD | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 096bfa7fbf..61a206cc85 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -44,7 +44,7 @@ jobs: prerelease: false body : ${{ steps.release_notes.outputs.release_notes }} files: | - ktlint/build/run/* + ktlint-cli/build/run/* env : GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} diff --git a/.homebrew b/.homebrew index 485d53f551..44d2c74857 100755 --- a/.homebrew +++ b/.homebrew @@ -4,4 +4,4 @@ if [ "$VERSION" == "" ]; then exit 1; fi brew update -shasum -a 256 ./ktlint/build/run/ktlint | awk -v new_version="$VERSION" '{system(sprintf("brew bump-formula-pr --url=\"https://github.com/pinterest/ktlint/releases/download/%s/ktlint\" --sha256=\"%s\" ktlint", new_version, $1))}' +shasum -a 256 ./ktlint-cli/build/run/ktlint | awk -v new_version="$VERSION" '{system(sprintf("brew bump-formula-pr --url=\"https://github.com/pinterest/ktlint/releases/download/%s/ktlint\" --sha256=\"%s\" ktlint", new_version, $1))}' diff --git a/RELEASE_TESTING.MD b/RELEASE_TESTING.MD index 0d5f370ffa..b45adab737 100644 --- a/RELEASE_TESTING.MD +++ b/RELEASE_TESTING.MD @@ -45,7 +45,7 @@ Before releasing a new version of KtLint, the release candidate is tested on a s Note that `~/git/ktlint` is the directory in which the ktlint project is checked out and that `~/git/ktlint/ktlint` refers to the `ktlint` CLI-module. 5. Create an alias or script to run the latest development-version of ktlint (note that this script will print the version and the datetime of compilation as reference to which version is used): ```shell - alias ktlint-dev="echo 'ktlint-dev version:';ls -aslh ~/git/ktlint/ktlint/build/run/ktlint;echo ' ';~/git/ktlint/ktlint/build/run/ktlint $@" + alias ktlint-dev="echo 'ktlint-dev version:';ls -aslh ~/git/ktlint/ktlint/build-cli/run/ktlint;echo ' ';~/git/ktlint/ktlint/build/run/ktlint $@" ``` Note that `~/git/ktlint` is the directory in which the ktlint project is checked out and that `~/git/ktlint/ktlint` refers to the `ktlint` CLI-module.