Skip to content

Instantly share code, notes, and snippets.

View itspbj's full-sized avatar

Pierce Johnson itspbj

View GitHub Profile
#!/bin/bash
set -euo pipefail
readonly plugin_version="1.0"
readonly expected_jar_checksum="checksum"
readonly output_file_name="plugin-name-${plugin_version}.jar"
readonly output_file="/tmp/${output_file_name}"
downloadPluginJar() {
# Download the new plugin JAR and store it in a temporary output file