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

Create a branch to support major wildcard version #4

Open
LitoMore opened this issue Apr 4, 2024 · 0 comments
Open

Create a branch to support major wildcard version #4

LitoMore opened this issue Apr 4, 2024 · 0 comments

Comments

@LitoMore
Copy link

LitoMore commented Apr 4, 2024

Problem

Our raycast/extensions is using raycast/github-actions/setup-git@master and raycast/github-actions/git-commit@master. But in raycast/github-actions, the raycast/github-actions/git-commit is using the raycast/github-actions/[email protected]. Which is not consistent.

Solution

See https://github.com/actions/toolkit/blob/main/docs/action-versioning.md.

The solution in the official documentation is to use a v1 tag to manage the major version. But it requires you update the tag with --force on every update.

A better solution is to use a branch called v1 and keep our code in this branch.

Benefits

We don't need to update all versions for raycast/extensions and raycast/github-actions on every update. And it's easier to keep your usages both in raycast/extensions and raycast/github-actions consistent.

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

No branches or pull requests

1 participant