File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,9 @@ outputs:
4040 version :
4141 description : ' The value of the new pre-calculated tag'
4242 value : ${{ steps.version.outputs.version }}
43+ non-prefixed-version :
44+ description : ' The value of the new pre-calculated tag without the prefix'
45+ value : ${{ steps.version.outputs.non-prefixed-version }}
4346 previous-version :
4447 description : ' Contains the value of previous tag, before calculating a new one'
4548 value : ${{ steps.previous-version.outputs.previous-version }}
8588 --log-paths="${{ inputs.log-paths }}" \
8689 ${{ inputs.skip-prerelease == 'true' && '--skip-prerelease' || '' }} \
8790 --version-prefix "${{ inputs.prefix }}")
88-
91+
92+ prefix="${{ inputs.prefix }}"
93+ non_prefixed_version=${VERSION#"$prefix"}
94+ echo "non-prefixed-version=$non_prefixed_version" >> $GITHUB_OUTPUT
8995 echo "version=$VERSION" >> $GITHUB_OUTPUT
9096 echo "New Version: $VERSION"
You can’t perform that action at this time.
0 commit comments