Skip to content

Commit

Permalink
Separate out variables
Browse files Browse the repository at this point in the history
  • Loading branch information
codervijo committed Jan 31, 2025
1 parent cee7df2 commit 3f3cd72
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions install.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
#!/bin/bash
set -e

# GitHub release download URL
DOWNLOAD_URL="https://github.com/codervijo/journalview/releases/download/v0.0.28/journalview-latest-31.01.2025.zip"

# Define output file name
OUTPUT_FILE="journalview-latest-31.01.2025.zip"
BUILD_DATE="31.01.2025"
RELEASE_VERSION="v0.0.28"
OUTPUT_FILE="journalview-latest-${BUILD_DATE}.zip"
ARCH="x86-64"
OS="unknown-linux-musl"

# GitHub release download URL
DOWNLOAD_URL="https://github.com/codervijo/journalview/releases/download/${RELEASE_VERSION}/journalview-latest-${BUILD_DATE}.zip"


# Download the binary
echo "Downloading JournalView from: $DOWNLOAD_URL"
curl -L "$DOWNLOAD_URL" -o "$OUTPUT_FILE"
Expand Down

0 comments on commit 3f3cd72

Please sign in to comment.