Skip to content

Conversation

@vanducng
Copy link
Contributor

Summary

  • Fix changelog comparison URL that was comparing the same version against itself
  • Now correctly compares against the previous release tag to show actual changes

Problem

The release workflow was generating changelog URLs like v1.0.0...v1.0.0 which shows no changes, instead of comparing against the previous release.

Solution

# Before
compare/v${{ steps.extract_version.outputs.version }}...v${{ steps.extract_version.outputs.version }}

# After  
compare/${{ steps.previous_tag.outputs.previous_tag }}...v${{ steps.extract_version.outputs.version }}

Added a step to get the previous release tag using git describe --tags --abbrev=0 HEAD~1.

Test plan

  • Verify workflow runs without errors
  • Check that changelog URLs in releases now show actual changes between versions

Copy link
Collaborator

@ltawfik ltawfik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@ltawfik ltawfik merged commit 012e1d1 into anthropics:main Jul 1, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants