File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -109,6 +109,8 @@ jobs:
109109 NEW_VERSION=$(npm version $VERSION_TYPE --no-git-tag-version)
110110 fi
111111
112+ # Remove the 'v' prefix from the version
113+ NEW_VERSION="${NEW_VERSION#v}"
112114 echo "new_version=$NEW_VERSION" >> $GITHUB_OUTPUT
113115 echo "bumped=true" >> $GITHUB_OUTPUT
114116
@@ -135,8 +137,3 @@ jobs:
135137 git config --global user.email "github-actions[bot]@users.noreply.github.com"
136138 git add ${{ inputs.package_path }}/package.json
137139 git commit -m "chore(${{ inputs.package_name }}): bump version to ${{ steps.get_version.outputs.version }}"
138-
139- - name : Create release tag
140- run : |
141- git tag -a "${{ inputs.package_name }}-${{ steps.get_version.outputs.version }}" \
142- -m "${{ inputs.package_name }} Release ${{ steps.get_version.outputs.version }}"
You can’t perform that action at this time.
0 commit comments