2
0
mirror of https://github.com/qarmin/czkawka synced 2024-11-16 06:12:48 +00:00
czkawka/misc/snap/local/CreateSnap.sh
2020-12-08 19:41:43 +01:00

18 lines
359 B
Bash
Executable File

#!/bin/bash
NUMBER="1.5.1"
CZKAWKA_PATH="/home/rafal"
cd "$CZKAWKA_PATH"
CZKAWKA_PATH="$CZKAWKA_PATH/czkawka"
rm -rf $CZKAWKA_PATH
git clone https://github.com/qarmin/czkawka.git "$CZKAWKA_PATH"
cd $CZKAWKA_PATH
git checkout "$NUMBER"
cd "$CZKAWKA_PATH/misc/snap"
snapcraft
snapcraft login
snapcraft upload --release=stable "czkawka_${NUMBER}_amd64.snap"