Skip to content

TA-4578: Skip tag creation if it exists#289

Merged
Buqeta (Buqeta) merged 1 commit into
masterfrom
TA-4578-fix-workflow
Dec 2, 2025
Merged

TA-4578: Skip tag creation if it exists#289
Buqeta (Buqeta) merged 1 commit into
masterfrom
TA-4578-fix-workflow

Conversation

@Buqeta
Copy link
Copy Markdown
Contributor

@Buqeta Buqeta (Buqeta) commented Dec 2, 2025

Description

The tag is created when npm version is exeecuted on the bump-npm-version action. When the code reaches the build-or-publish workflow, it tries to create the tag again, which already exists and this fails the whole workflow (ref). This PR changes the code to check for existing tags first and then create them.

Relevant links

Checklist

  • I have self-reviewed this PR
  • I have tested the change and proved that it works in different scenarios
  • I have updated docs if needed

@Buqeta Buqeta (Buqeta) requested a review from a team as a code owner December 2, 2025 14:50
Comment thread .github/workflows/build-or-publish.yml
@Buqeta
Copy link
Copy Markdown
Contributor Author

Merging it immediately to test the workflow. Feel free to add comments.

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Dec 2, 2025

@Buqeta Buqeta (Buqeta) merged commit 1d0f57a into master Dec 2, 2025
7 checks passed
@Buqeta Buqeta (Buqeta) deleted the TA-4578-fix-workflow branch December 2, 2025 15:09
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