[packit] 0.7.0 upstream release
Upstream tag: 0.7.0 Upstream commit: e121363b Signed-off-by: Packit <hello@packit.dev>
This commit is contained in:
parent
e2204ae52d
commit
2d036948fd
9 changed files with 90 additions and 17 deletions
14
plans/git_reference.py
Normal file
14
plans/git_reference.py
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/python
|
||||
|
||||
import subprocess
|
||||
from pathlib import Path
|
||||
|
||||
import fmf
|
||||
|
||||
tree_root = Path.cwd().absolute()
|
||||
node = fmf.Tree(tree_root).find("/plans")
|
||||
with node as data:
|
||||
data["discover"]["url"] = "https://github.com/packit/specfile.git"
|
||||
data["discover"]["ref"] = (
|
||||
subprocess.check_output(["git", "rev-parse", "HEAD"]).decode().strip()
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue