This file contains 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/sh | |
# GitHub repository details | |
REPO_USER="roymoran" | |
REPO_NAME="page" | |
# GitHub API URL to get the latest release tag | |
LATEST_RELEASE_API="https://api.github.com/repos/$REPO_USER/$REPO_NAME/releases/latest" | |
# Fetch the latest release tag |
This file contains 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/sh | |
# AWS S3 bucket details | |
S3_BUCKET="programbins" | |
S3_PATH="builder/bins" | |
# Base URL for downloading binaries from S3 bucket | |
BASE_URL="https://$S3_BUCKET.s3.amazonaws.com/$S3_PATH" | |
# Detect OS and Architecture |