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 packages/flamenco/setup.py
sed "s/version='[^']*'/version='$1'/" -i packages/flamenco-worker-python/setup.py
sed "s/FLAMENCO_VERSION = \"[^\"]*\"/FLAMENCO_VERSION = \"$1\"/" -i packages/flamenco-manager-go/src/flamenco-manager/main.go
git diff
echo
echo "Don't forget to tag and commit!"

File Metadata

Mime Type
text/x-shellscript
Expires
Sun, Sep 27, 9:56 AM (1 d, 23 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
cd/0e/1c7071f63ccf8cae4fa72cfa1a92

Event Timeline