{"repo":"WyriHaximus/github-action-next-semvers","free":true,"listed":false,"github":"https://github.com/WyriHaximus/github-action-next-semvers","clone":"git clone https://github.com/WyriHaximus/github-action-next-semvers.git","description":"Github Action that output the next version for major, minor, and patch version based on the given semver version.","language":"PHP","stars":60,"topics":["github-actions","github","action","semver","hacktoberfest"],"license":"MIT","category":"workflow-automation","readme_excerpt":"Next SemVers GitHub Action that output the next version for major, minor, and patch version based on the given semver version. Options This action supports the following options. version The version we want to have the next versions for. Required : Yes Type : string Example : v1.2.3 or 1.2.3 strict Strict version validation, when turned off, the version is suffixed with .0 until it contains 3 x . . Required : No Type : string Example : true or false Output This action output 6 slightly different outputs. A new major, minor, and patch version and a variant of those prefixed with a v . For example when you input 1.2.3 it will give you the following outputs: major : 2.0.0 minor : 1.3.0 patch : 1.2.4 v major : v2.0.0 v minor : v1.3.0 v patch : v1.2.4 In addition, if your input contains an indicator that it is a pre-release (e.g., 1.2.3-alpha ), the output for patch version changes accordingly (while the behaviour for major and minor are not affected and work as usual): major : 2.0.0 minor : 1.3.0 patch : 1.2.3 v major : v2.0.0 v minor : v1.3.0 v patch : v1.2.3 Example The following example works together with the WyriHaximus/github-action-get-previous-tag and WyriHaximus/github-action-create-milestone actions. Where it uses the output from that action to supply a set of versions for the next action, which creates a new milestone. (This snippet has been taken from the automatic code generation of wyrihaximus/fake-php-version .) License ## Copyright 2019 Cees-Jan Kiewiet Permission","default_branch":null,"files":null,"tree":[],"storefront":"/r/WyriHaximus","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/WyriHaximus/github-action-next-semvers/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}