Page MenuHome

update_version.sh
No OneTemporary

update_version.sh

#!/bin/bash
if [ -z "$1" ]; then
echo "Usage: $0 new-version" >&2
exit 1
fi
sed "s/version='[^']*'/version='$1'/" -i setup.py
git diff
echo
echo "Don't forget to tag and commit!"

File Metadata

Mime Type
text/x-shellscript
Expires
Mon, Sep 21, 12:38 PM (1 d, 23 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
68/81/16f4fa74ee837e3c836dbc352458

Event Timeline