You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: setup.go
+5-1
Original file line number
Diff line number
Diff line change
@@ -250,7 +250,11 @@ func (e *Executor) doVersionChecks() error {
250
250
*v=*e.Taskfile.Version
251
251
252
252
ifv.LessThan(taskfile.V2) {
253
-
returnfmt.Errorf(`task: Taskfile versions prior to v2 are not supported anymore`)
253
+
returnfmt.Errorf(`task: version 1 schemas are no longer supported`)
254
+
}
255
+
256
+
ifv.LessThan(taskfile.V3) {
257
+
e.Logger.Outf(logger.Yellow, "task: version 2 schemas are deprecated and will be removed in a future release\nSee https://github.com/go-task/task/issues/1197 for more details\n")
254
258
}
255
259
256
260
// consider as equal to the greater version if round
assert.Equal(t, "task: version 2 schemas are deprecated and will be removed in a future release\nSee https://github.com/go-task/task/issues/1197 for more details\n", buff.String())
0 commit comments