More scripts

main
Micke Nordin 4 years ago
parent e212a2c4b2
commit 7a2f0ef5f6

@ -0,0 +1,6 @@
#!/usr/bin/env bash
BASEDIR=~/sources
${BASEDIR}/wireguide/pakaging_scripts/version.sh
${BASEDIR}/wireguide/pakaging_scripts/reprepro.sh
${BASEDIR}/wireguide/pakaging_scripts/alien.sh
${BASEDIR}/wireguide/pakaging_scripts/shasums.sh

@ -0,0 +1,4 @@
#!/usr/bin/env bash
BASEDIR=~/sources
sha256sum ${BASEDIR}/wireguide{-,_}*|sed "s_ ${HOME}/sources/_|_" | wl-copy
vim ${BASEDIR}/wireguide/README.md

@ -0,0 +1,24 @@
#!/usr/bin/env bash
BASEDIR=~/sources
version="${1}"
chlog_msg="${2}"
if [[ "x${version}" == "x" ]]; then
echo -n "Enter version (x.x.x): "
read version
fi
if [[ "x${chlog_msg}" == "x" ]]; then
echo -n "Enter changelog message: "
read chlog_msg
fi
# Code
echo sed -i -E 's/self\.version = "[0-9]+\.[0-9]+\.[0-9]+/self.version = "'${version}'/' ${BASEDIR}/wireguide/src/wireguide
# Changelog
echo 'wireguide ('${version}') unstable; urgency=low
* '${chlog_msg}'
-- Micke Nordin <hej@mic.ke> '$(LC_ALL=C date "+%a, %d %b %Y %T %z")'
'| wl-copy
vim ${BASEDIR}/wireguide/debian/changelog
Loading…
Cancel
Save