This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # | |
| # Uploads an installable artifact to Bitrise using Release Management Public API. | |
| # Reference: https://api.bitrise.io/release-management/api-docs/index.html#/Installable%20Artifacts%20-%20COMING%20SOON/GenerateInstallableArtifactUploadUrl | |
| # | |
| # This script supports Linux distributions (alpine, arch, centos, debian, fedora, rhel, ubuntu) and macOS. | |
| # For it to work properly you will need either jq and openssl packages installed on your system or sudo privileges for the script. | |
| # | |
| # You need a couple of environment variables to set up and you can call this script from terminal: | |
| # ARTIFACT_PATH=LOCAL_PATH_OF_THE_ARTIFACT_TO_BE_UPLOADED \ |