myx/upload_release.sh

17 lines
410 B
Bash
Raw Normal View History

2022-10-04 16:30:08 +00:00
#!/bin/bash
set -e
V=$(cat VERSION)
2022-10-05 08:38:16 +00:00
D="$(pwd)/build"
2022-10-04 16:30:08 +00:00
git commit -a
git tag $V
git push --tags
git tag -d $V
git push --all
2022-10-05 08:38:16 +00:00
tea r c --repo cmake/myx -t $V --tag $V -a "$D/myx-cmake-local-${V}.tar.xz"
tea r c --repo cmake/myx -t $V --tag $V -a "$D/myx-cmake_${V}.dsc"
tea r c --repo cmake/myx -t $V --tag $V -a "$D/myx-cmake_${V}.tar.xz"
tea r c --repo cmake/myx -t $V --tag $V -a "$D/myx-cmake_${V}_all.deb"