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

chore(ci): add release workflow #32

Merged
merged 4 commits into from
Dec 6, 2023
Merged

Conversation

raducristianpopa
Copy link
Member

@raducristianpopa raducristianpopa commented Dec 5, 2023

First part of #22.

This PR contains a workflow that can be manually dispatched from the Actions tab, which will build the extension for all browsers, create a new release on GitHub and upload the assets for it (extension ZIP).

@raducristianpopa raducristianpopa marked this pull request as ready for review December 5, 2023 11:08
Comment on lines +28 to +32
run: |
if [[ ! "${VERSION}" =~ ^[0-9]+\.[0-9]+\.[0-9]+.*$ ]]; then
echo "Invalid version tag '${VERSION}'"
exit 1
fi
Copy link
Member Author

Choose a reason for hiding this comment

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

Do we need a better version validator?

Copy link
Contributor

Choose a reason for hiding this comment

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

I think it's fine for now, we can think about improving it in the near future

@raducristianpopa raducristianpopa changed the title chore: add release workflow chore(ci): add release workflow Dec 5, 2023
Copy link
Contributor

@ionutanin ionutanin left a comment

Choose a reason for hiding this comment

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

looks great

Comment on lines +28 to +32
run: |
if [[ ! "${VERSION}" =~ ^[0-9]+\.[0-9]+\.[0-9]+.*$ ]]; then
echo "Invalid version tag '${VERSION}'"
exit 1
fi
Copy link
Contributor

Choose a reason for hiding this comment

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

I think it's fine for now, we can think about improving it in the near future

@raducristianpopa raducristianpopa merged commit c7f9039 into main Dec 6, 2023
3 checks passed
@raducristianpopa raducristianpopa deleted the rp--release-workflow branch December 6, 2023 06:39
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