Version: 5

# Stable X.Y.Z tags only. Dart also tags every dev and beta build
# (3.14.0-0.0.dev, 3.14.0-211.1.beta, ...). The GitHub API returns all refs in
# one JSON document, so anchoring with $ is not possible; the negative
# lookahead is what stops a prerelease tag from matching as a bare X.Y.Z.
#
# Version tracking only: there is no upstream tarball. The Dart SDK pulls its
# third_party/ trees from separate repositories pinned by upstream's DEPS file,
# so the orig tarball is assembled by debian/scripts/get-orig-source.
# The Debian version carries +dfsgN because the orig tarball is repacked to
# drop content that is not DFSG free; strip it before comparing with upstream.
Dversionmangle: s/\+dfsg\d*$//
Template: GitHub
Owner: dart-lang
Project: sdk
Matching-Pattern: refs/tags/(\d+\.\d+\.\d+)(?![-.\w])
