-
When publishing an Action on the Marketplace, which version numbering scheme should I use? I am not talking about SemVer, but |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
We encourage you to use the leading We do not currently apply any semantic versioning semantics, we only match a literal release tag. However we may revisit this policy during the beta period. |
Beta Was this translation helpful? Give feedback.
-
That means if I tag Also, why use |
Beta Was this translation helpful? Give feedback.
-
I found this confusing/misleading as well. After releasing an action yesterday and tagging the first version as 1.0.0 , I was expecting to be able to use v1 to point to my 1.0.0 version, but was instead getting errors that the action could not be found. I had read here that in order to use an action, you just need to specify the major version to recieve critical updates and I thought this meant it happens automatically. However I was wrong. According to this page, what they expect of the action author is that each time a minor version is released, he/she should change the tag corresponding to the major version of that release to point to the new tag, which means that the users of the action will not need to follow minor/patch releases to stay up-to-date.
To automate this, I created the actions-tagger action which does the versioning automatically. |
Beta Was this translation helpful? Give feedback.
-
you should use branches (not tags) for major version, e.g. Tags are pretty useless, and should only be used for release notes, but unless there are specific reasons, any workflow should point to branches, e.g. |
Beta Was this translation helpful? Give feedback.
-
If the branch is called If you insist on using a branch, it should be only kept for production and not include any pre-release code, |
Beta Was this translation helpful? Give feedback.
-
@farshidtz yes, the branch (e.g., |
Beta Was this translation helpful? Give feedback.
We encourage you to use the leading
v
. (For example, our checkout action isactions/checkout@v1
.)We do not currently apply any semantic versioning semantics, we only match a literal release tag. However we may revisit this policy during the beta period.