Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Commit

Permalink
Fix replacement of dependency version during release (#874)
Browse files Browse the repository at this point in the history
Signed-off-by: Mykhailo Kuznietsov <mkuznets@redhat.com>
  • Loading branch information
mkuznyetsov authored Oct 8, 2020
1 parent ffdacc2 commit 8d39edf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion make-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ apply_files_edits () {
exit 1
fi

API_DTO_VERSION=$(curl --silent http://registry.npmjs.org/-/package/@eclipse-che/api/dist-tags | sed 's/.*"latest":"\(.*\)",.*/\1/')
API_DTO_VERSION=$(curl --silent http://registry.npmjs.org/-/package/@eclipse-che/api/dist-tags | sed 's/.*"latest":"\(.*\)".*/\1/')
if [[ ! ${API_DTO_VERSION} ]] || [[ ${API_DTO_VERSION} == \"Unauthorized\" ]]; then
echo "Failed to get @eclipse-che/api latest version from npmjs.org. Try again."; echo
exit 1
Expand Down

0 comments on commit 8d39edf

Please sign in to comment.