diff --git a/README.md b/README.md index ebee373..f560a54 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ uses: actions/checkout@v2 - name: Get next version - uses: reecetech/version-increment@2021.11.1 + uses: reecetech/version-increment@2021.11.2 id: version with: scheme: semver @@ -82,10 +82,12 @@ Examples: ### 📤 Outputs -| name | description | -| :--- | :--- | -| current_version | The current latest version detected from the git repositories tags | -| version | The incremented version number (e.g. the next version) | +| name | description | +| :--- | :--- | +| current-version | The current latest version detected from the git repositories tags | +| current-v-version | The current latest version detected from the git repositories tags, prefixed with a `v` character | +| version | The incremented version number (e.g. the next version) | +| v-version | The incremented version number (e.g. the next version), prefixed with a `v` character | ## 💕 Contributing diff --git a/version-increment.sh b/version-increment.sh index 2f97fa7..f8c29b7 100755 --- a/version-increment.sh +++ b/version-increment.sh @@ -87,3 +87,4 @@ fi echo "â„šī¸ The new version is ${new_version}" echo "::set-output name=version::${new_version}" +echo "::set-output name=v-version::v${new_version}" diff --git a/version-lookup.sh b/version-lookup.sh index cedff1a..0dd91e9 100755 --- a/version-lookup.sh +++ b/version-lookup.sh @@ -62,3 +62,4 @@ fi echo "â„šī¸ The current normal version is ${current_version}" echo "::set-output name=current-version::${current_version}" +echo "::set-output name=current-v-version::v${current_version}"