diff --git a/scripts/release.sh b/scripts/release.sh index 5c052e5c..6312cca4 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -25,11 +25,11 @@ if [[ -n $(git status --porcelain) ]]; then exit 1 fi -printf "\n\nRelease: update working tree" +printf "\n\nRelease: update working tree\n" git pull origin master git fetch origin --tags -printf "Release: yarn" +printf "Release: yarn\n" yarn @@ -64,6 +64,9 @@ yarn add --dev eslint-config-algolia@"$newVersion" cd ../.. npm version "$newVersion" --no-git-tag-version +# update yarn.lock +yarn + # update changelog printf "\n\nRelease: update changelog" conventional-changelog --preset angular --infile CHANGELOG.md --same-file diff --git a/yarn.lock b/yarn.lock index 50ae11cc..1cd81001 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3110,7 +3110,7 @@ __metadata: languageName: node linkType: hard -"eslint-config-algolia@20.1.0, eslint-config-algolia@workspace:packages/eslint-config-algolia": +"eslint-config-algolia@21.0.0, eslint-config-algolia@workspace:packages/eslint-config-algolia": version: 0.0.0-use.local resolution: "eslint-config-algolia@workspace:packages/eslint-config-algolia" dependencies: @@ -7365,7 +7365,7 @@ __metadata: "@typescript-eslint/eslint-plugin": 5.5.0 "@typescript-eslint/parser": 5.5.0 eslint: 8.3.0 - eslint-config-algolia: 20.1.0 + eslint-config-algolia: 21.0.0 jest: 27.4.2 prop-types: 15.7.2 react: 17.0.2