Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-tests.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
**Steps to replicate the issue**:
clone pywikibot with depth 1 and run make_dist:
git -c protocol.version=2 fetch --no-tags --prune --progress
--no-recurse-submodules --depth=1 origin
+9f518689d84786fea4109e3281957447e76778a8:refs/remotes/origin/master
coverage run -m make_dist -local
**What happens?**:
Removing old dist folders... done
directory is /home/runner/work/pwb/pwb
clear /home/runner/work/pwb/pwb/pywikibot/scripts/i18n/pywikibot directory
copy i18n files ... done
Remove copied files... done
Traceback (most recent call last):
File "/home/runner/work/pwb/pwb/make_dist.py", line 210, in <module>
main()
File "/home/runner/work/pwb/pwb/make_dist.py", line 206, in main
SetupPywikibot(*args).run()
File "/home/runner/work/pwb/pwb/make_dist.py", line 115, in run
setup.main() # create a new package
File "/home/runner/work/pwb/pwb/setup.py", line 216, in main
version = get_validated_version()
File "/home/runner/work/pwb/pwb/setup.py", line 155, in
get_validated_version
last_tag = tags[-1]
IndexError: list index out of range
https://github.com/xqt/pwb/actions/runs/4850444159/jobs/8643352202
TASK DETAIL
https://phabricator.wikimedia.org/T335676
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt
Cc: Aklapper, Xqt, pywikibot-bugs-list, PotsdamLamb, Jyoo1011, JohnsonLee01,
SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Framawiki,
Mdupont, JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, mys_721tx, jayvdb,
Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]