mirror of
https://github.com/reecetech/version-increment.git
synced 2025-12-21 06:25:44 +00:00
Exposing major, minor and patch numbers as outputs
This commit is contained in:
@@ -88,3 +88,6 @@ echo "ℹ️ The new version is ${new_version}"
|
||||
|
||||
echo "::set-output name=version::${new_version}"
|
||||
echo "::set-output name=v-version::v${new_version}"
|
||||
echo "::set-output name=major-version::v${version_array[0]}"
|
||||
echo "::set-output name=minor-version::v${version_array[1]}"
|
||||
echo "::set-output name=patch-version::v${version_array[2]}"
|
||||
|
||||
Reference in New Issue
Block a user