File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ name: release
99jobs :
1010 # https://github.com/marketplace/actions/actions-tagger
1111 actions-tagger :
12+ needs : pypi # do not move the mobile tag until we publish
1213 runs-on : windows-latest
1314 permissions :
1415 # Give the default GITHUB_TOKEN write permission.
Original file line number Diff line number Diff line change @@ -288,4 +288,15 @@ dependencies = { file = [".config/requirements.in"] }
288288
289289[tool .setuptools_scm ]
290290local_scheme = " no-local-version"
291+ tag_regex = " ^(?P<prefix>v)?(?P<version>[0-9.]+)(?P<suffix>.*)?$"
291292write_to = " src/ansiblelint/_version.py"
293+ # To prevent accidental pick of mobile version tags such 'v6'
294+ git_describe_command = [
295+ " git" ,
296+ " describe" ,
297+ " --dirty" ,
298+ " --tags" ,
299+ " --long" ,
300+ " --match" ,
301+ " v*.*" ,
302+ ]
You can’t perform that action at this time.
0 commit comments