cloudposse / cloudposse/github-action-atmos-component-updater

Release Links Not Populating Correctly

Open
#81 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
5
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Found a bug? Maybe our [Slack Community](https://cloudposse.com/slack) can help.

[![Slack Community](https://slack.cloudposse.com/for-the-badge.svg)](https://cloudposse.com/slack)

## Describe the Bug

In the component updater PRs, the links for accessing component release notes do not populate correctly

![Image](https://github.com/user-attachments/assets/e5507c7d-8bc0-4255-a880-e2c9da8a3b70)

## Expected Behavior

Be able to navigate to the release notes of the new and old component

## Steps to Reproduce
Steps to reproduce the behavior:

1. Run the component updater
2. View the outputted PR

## Screenshots

![Image](https://github.com/user-attachments/assets/4fe9e4b3-5396-4c43-ac4d-9a9dcbdd042f)

![Image](https://github.com/user-attachments/assets/a9fda1d7-c01c-4121-85eb-a2641dad62ea)

## Environment (please complete the following information):

It appears as though this function strips the `v` from the release which is needed in the URL:

```python
def __build_component_release_tag_link(self, component: AtmosComponent):
component_release_tag_link = None
version = component.version
if "cloudposse-terraform-components" not in component.uri_repo:
version = f"v{version.lstrip('v')}"
```

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.