File: .ian

package info (click to toggle)
pygattlib 0~20201113-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 448 kB
  • sloc: ansic: 5,028; cpp: 1,685; python: 389; makefile: 46; sh: 1
file content (10 lines) | stat: -rw-r--r-- 282 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash --
# -*- coding: utf-8; mode: shell-script; tab-width: 4 -*-

function ian-release-hook() {
	local version=$(upstream-version)
	echo "ian hook setting version to $version"
	sc-assert-files-exist setup.py
    sed -iE 's/version=".*",/version="'$version'",/g' setup.py
}