myx/upload_release.sh
2022-10-05 14:57:56 +03:00

18 lines
298 B
Bash
Executable File

#!/bin/bash
set -e
V=$(cat VERSION)
D="$(pwd)/build"
git commit -a
git tag $V
git push --all
tea r c --repo cmake/myx -t $V --tag $V \
-a "$D"/myx-cmake_${V}.dsc \
-a "$D"/myx-cmake_${V}.tar.xz \
-a "$D"/myx-cmake_${V}_all.deb \
-a "$D"/myx-cmake-local-${V}.tar.xz
git tag -d $V
git pushall