AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Git tag semantic versioning10/4/2023 ![]() Then when you tag v1.0.1, it will change the ref that v1 points to so that it’s the sha from v1.0.1. This means that if you tag version v1.0.0 it will automatically tag v1. ![]() It’s a GitHub Action for managing GitHub Actions (how meta!)Īny time you tag a new release in a repository that uses actions-tagger, it will parse the release version, extract the major version from it and redefine that reference. This is where the actions-tagger action comes in. This is great advice, but it’s is additional effort to update your tag each time you make a new release. For example, changing an action's inputs would be a breaking change. Introduce a new major version tag (v2) for breaking changes that will break existing workflows.For more information, see "Git basics - tagging." Move the major version tag (v1, v2, etc.) to point to the Git ref of the current release.For more information, see "Creating releases." You could play around with the git commands to retrieve the current git hash, last commit date, current branch, or current git tag (actual version number if you. Create a release using semantic versioning (v1.0.9).Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Following formalized conventions for commit messages, semantic-release automatically determines the next semantic version number. semantic-release uses the commit messages to determine the type of changes in the codebase. ![]() However, GitHub themselves recommend using semantic versioning for your actions to provide people with a stable experience. A tag already exists with the provided branch name. The action will parse the new commits since the last tag using the semantic-release conventions. Most people use option 2 - pointing to an external action that’s hosted on GitHub, and the way that most actions recommend that you use them is to point at the master branch so that you’re always up to date.
0 Comments
Read More
Leave a Reply. |