file/pre_checkin.sh
2024-11-08 07:22:14 +00:00

5 lines
168 B
Bash

#!/bin/bash
# This script is called automatically during autobuild checkin.
version=$(grep '^Version:.*' file.spec)
sed -ri "s,^Version:.*,$version," python-magic.spec