Skip to content

Commit

Permalink
ci(release): remove unused job for push-tag
Browse files Browse the repository at this point in the history
  • Loading branch information
grieve54706 committed Dec 19, 2024
1 parent 9363b0b commit 5bead8a
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/stable-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,20 +64,12 @@ jobs:
version_number=$(./mvnw --quiet help:evaluate -Dexpression=project.version -DforceStdout | sed -n 's/^\(.*\)-SNAPSHOT/\1/p')
./mvnw release:prepare -B -DreleaseVersion=${version_number}
fi
# push the release commit and tag from maven release:prepare
git push
echo "version_number=$version_number" >> $GITHUB_OUTPUT
outputs:
next_version: ${{ steps.next_version.outputs.value }}
maven_version: ${{ steps.maven_prepare_release.outputs.version_number }}
push-tag:
needs: prepare-version
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Push tag
run: |
git tag -a ${{ needs.prepare-version.outputs.next_version }} -m "Release ${{ needs.prepare-version.outputs.next_version }}"
git push origin ${{ needs.prepare-version.outputs.next_version }}
gh-releasse:
needs: prepare-version
runs-on: ubuntu-latest
Expand Down

0 comments on commit 5bead8a

Please sign in to comment.