inveniosoftware / inveniosoftware/invenio-github

Badge: not pointing to the latest published record

Open
#167 0 comments 0 reactions 0 assignees View on GitHub
Type: bug
Dominant language
Python
Stars
8
Forks
34
PR merge metrics
No merged PRs in 30d

Description

If the latest version is deleted, the badge should redirect to the next latest published record, however, it tries to look for deleted record and fails

https://github.com/inveniosoftware/invenio-rdm-records/blob/8409162e4e6ebb45e2f8208fc4186266666fc3f0/invenio_rdm_records/services/github/release.py#L84

**Sentry Error**: https://zenodo-sentry.web.cern.ch/sentry/zenodo-rdm/issues/29546931/events/39214257/?environment=production
**Github Repo**: https://github.com/jpvantassel/hvsrpy?tab=readme-ov-file#hvsrpy---a-python-package-for-horizontal-to-vertical-spectral-ratio-processing
**New Latest Version**: https://zenodo.org/records/12735911
**Deleted Record**: https://zenodo.org/records/3901640
**Support Req**: https://support.zenodo.org/#ticket/zoom/564864491

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.