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
Sun, Sep 27, 10:18 AM (1 d, 23 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
8d/be/e7e7bdfea6e3b36b645e664a8760

Event Timeline