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: tagger workflows not working #122

Merged
merged 2 commits into from
Nov 16, 2023
Merged

fix: tagger workflows not working #122

merged 2 commits into from
Nov 16, 2023

Conversation

MaikoTan
Copy link
Member

No description provided.

@MaikoTan MaikoTan requested a review from shigma November 15, 2023 09:32
echo "TAG_EXISTS=true" >> $GITHUB_OUTPUT
else
git fetch --tags
if [ -z "$(git tag -l | grep -w ${{ steps.check_version.outputs.TAG }})" ]; then
Copy link
Member

Choose a reason for hiding this comment

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

Edge case: a.b.c matches a.b.c-alpha.0?

Copy link
Member Author

Choose a reason for hiding this comment

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

You're right, I make a simple test:

> echo -e "a.b.c-alpha.0" | grep -w a.b.c
a.b.c-alpha.0

But I don't know how to construct a full match in grep. Anyone aware?

Copy link
Member

Choose a reason for hiding this comment

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

^ & $?

Copy link
Member Author

Choose a reason for hiding this comment

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

Also $ should be escaped as \$, yes.

@MaikoTan MaikoTan added the 🆘 help wanted Extra attention is needed label Nov 16, 2023
@MaikoTan MaikoTan removed the 🆘 help wanted Extra attention is needed label Nov 16, 2023
@MaikoTan MaikoTan merged commit f160e18 into main Nov 16, 2023
1 of 3 checks passed
@MaikoTan MaikoTan deleted the fix-tagger branch November 16, 2023 03:21
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