summaryrefslogtreecommitdiff
path: root/src/Command/Run.hs
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2026-10-25 14:41:38 +0100
committerRoman Smrž <roman.smrz@seznam.cz>2026-10-30 20:22:23 +0100
commit09df29c85950e4908dbabeceb503ce3764f32561 (patch)
tree82f35cced0d301fb3904adaaff31c1704986df2d /src/Command/Run.hs
parentd49c767176c57017e546c8dc43a09eb8424ef426 (diff)
Select and watch highest tag
Diffstat (limited to 'src/Command/Run.hs')
-rw-r--r--src/Command/Run.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Command/Run.hs b/src/Command/Run.hs
index 85bc59d..f200738 100644
--- a/src/Command/Run.hs
+++ b/src/Command/Run.hs
@@ -276,7 +276,7 @@ watchExpressionSource expr = do
watchBranchSource :: Text -> CommandExec JobSource
watchBranchSource branch = do
repo <- getDefaultRepo
- expr <- evaluateDeclaredRange repo $ RangeExpression (WatchedRef branch) (StaticRef branch)
+ expr <- evaluateDeclaredRange repo $ RangeExpression (WatchedRef (TextRef branch)) (StaticRef (TextRef branch))
watchExpressionSource expr
watchTagSource :: Pattern -> CommandExec JobSource