Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(15337): remove from release names in update automation #16795

Merged

Conversation

2nikhiltom
Copy link
Contributor

Closes #15337

This PR removes "refs/tags/" prefix from release names in update automation.

Updates createRelease to use ${{ github.ref_name }} instead of context.ref

script: |
            github.rest.repos.createRelease({
              tag_name: context.ref,
              name: ${{ github.ref_name }},
              draft: false,
              prerelease: true,
              owner: context.repo.owner,
              repo: context.repo.repo,
            });

Reference : https://github.com/orgs/community/discussions/26686

image

Testing / Reviewing

Verify if "refs/tags/" prefix is removed from the release name

@2nikhiltom 2nikhiltom requested a review from a team as a code owner June 17, 2024 12:58
@tay1orjones tay1orjones merged commit 9d2f144 into carbon-design-system:main Jun 17, 2024
16 of 17 checks passed
Copy link

netlify bot commented Jun 17, 2024

Deploy Preview for v11-carbon-react ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 43d1fc8
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-react/deploys/66703305ac39b80008e5618f
😎 Deploy Preview https://deploy-preview-16795--v11-carbon-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Jun 17, 2024

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit 43d1fc8
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/66703305623d810008c9db20
😎 Deploy Preview https://deploy-preview-16795--carbon-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix automated GitHub release names
3 participants