Previously, the process of retrieving the ZoKrates release tag resulted in an incorrect URL being used on Windows, leading to installation errors. This pull request addresses the issue by enhancing the tag retrieval process, ensuring the correct URL is utilized for a successful installation.
This change ensures that ZoKrates installations on Windows systems using the provided script will correctly fetch the required release tag, preventing 404 errors.
Testing
The pull request has been tested to confirm that the new tag retrieval method functions as expected and resolves the issue of incorrect URL usage for Windows, macOS and Linux.
Description
Previously, the process of retrieving the ZoKrates release tag resulted in an incorrect URL being used on Windows, leading to installation errors. This pull request addresses the issue by enhancing the tag retrieval process, ensuring the correct URL is utilized for a successful installation.
Changes Made
Replaced the previous tag retrieval method:
With the updated method:
Explanation
-F'tag/'
: Sets "tag/" as the separator for splitting text into parts.'{print $2}'
: Prints the second part of the text after splitting it at "tag/".Input:
https://github.com/zokrates/zokrates/releases/tag/0.8.7
Output:0.8.7
Impact
This change ensures that ZoKrates installations on Windows systems using the provided script will correctly fetch the required release tag, preventing 404 errors.
Testing
The pull request has been tested to confirm that the new tag retrieval method functions as expected and resolves the issue of incorrect URL usage for Windows, macOS and Linux.