Skip to content

Commit 960acbc

Browse files
committed
ci(release): remove release job steps to create partial tags
1 parent 3d47451 commit 960acbc

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -67,25 +67,3 @@ jobs:
6767
force: ${{ github.event.inputs.bump-version }}
6868
prerelease: ${{ github.event.inputs.as-prerelease }}
6969
changelog: false
70-
71-
- name: Release | Update Minor Release Tag Reference
72-
if: steps.release.outputs.released == 'true' && steps.release.outputs.is_prerelease == 'false'
73-
env:
74-
FULL_VERSION_TAG: ${{ steps.release.outputs.tag }}
75-
GIT_COMMITTER_NAME: github-actions
76-
GIT_COMMITTER_EMAIL: [email protected]
77-
run: |
78-
MINOR_VERSION_TAG="$(printf '%s\n' "$FULL_VERSION_TAG" | cut -d. -f1,2)"
79-
git tag --force --annotate "$MINOR_VERSION_TAG" "${FULL_VERSION_TAG}^{}" -m "$MINOR_VERSION_TAG"
80-
git push origin "$MINOR_VERSION_TAG" --force
81-
82-
- name: Release | Update Major Release Tag Reference
83-
if: steps.release.outputs.released == 'true' && steps.release.outputs.is_prerelease == 'false'
84-
env:
85-
FULL_VERSION_TAG: ${{ steps.release.outputs.tag }}
86-
GIT_COMMITTER_NAME: github-actions
87-
GIT_COMMITTER_EMAIL: [email protected]
88-
run: |
89-
MAJOR_VERSION_TAG="$(printf '%s\n' "$FULL_VERSION_TAG" | cut -d. -f1)"
90-
git tag --force --annotate "$MAJOR_VERSION_TAG" "${FULL_VERSION_TAG}^{}" -m "$MAJOR_VERSION_TAG"
91-
git push origin "$MAJOR_VERSION_TAG" --force

0 commit comments

Comments
 (0)