Exposing major, minor and patch numbers as outputs

This commit is contained in:
karunasa
2022-02-10 16:56:32 +11:00
parent 40611bca96
commit 8b854651df
3 changed files with 16 additions and 1 deletions

View File

@@ -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]}"