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 | |
set -euo pipefail | |
IFS=$'\n\t' | |
CURRENT_VERSION=$(grep IMMICH_VERSION= .env | awk -F= '{print $2}') | |
echo "Getting latest version of Immich..." | |
LATEST_VERSION=$(curl -s --include https://github.com/immich-app/immich/releases/latest | grep 'location:' | awk -F/ '{print $NF}') | |
# Remove DOS line end | |
LATEST_VERSION=${LATEST_VERSION//[$'\t\r\n ']} |
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
package com.adevinta.blog.pluginengine.pluginapi | |
trait ConverterPlugin { | |
def name: String | |
def init(): Unit | |
def makeConverter(specification: String): Converter | |
} | |
trait Converter { | |
def convert(in: String): String |
OlderNewer