diff --git a/.build/justfile-for-release b/.build/justfile-for-release index 0e0ede66f..87b0a5f0c 100644 --- a/.build/justfile-for-release +++ b/.build/justfile-for-release @@ -53,7 +53,6 @@ release: pre-release @echo "🚀 Release steps..." @echo "Commit release version and push upstream" git commit -am "chore(release): release Mutiny ${RELEASE_VERSION}" - git push @echo "Call JReleaser" ./mvnw -settings .build/maven-ci-settings.xml --batch-mode --no-transfer-progress -Pjreleaser jreleaser:full-release -pl :mutiny-project @echo "Bump to 999-SNAPSHOT and push upstream" diff --git a/.github/workflows/push-release-to-maven-central.yml b/.github/workflows/push-release-to-maven-central.yml index 911704269..bfa83518d 100644 --- a/.github/workflows/push-release-to-maven-central.yml +++ b/.github/workflows/push-release-to-maven-central.yml @@ -21,5 +21,5 @@ jobs: cache: maven - name: Install just uses: taiki-e/install-action@just - - name: Deploy tp Maven Central + - name: Deploy to Maven Central run: just -f .build/justfile-for-release -d . deploy-to-maven-central diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 42bd44163..7fdb40b1b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,6 +29,7 @@ jobs: DEPLOY_WEBSITE: ${{ github.event.inputs.deployWebsite }} CLEAR_REVAPI: ${{ github.event.inputs.clearRevAPI }} JRELEASER_TAG_NAME: ${{ github.event.inputs.version }} + JRELEASER_PREVIOUS_TAG_NAME: ${{ github.event.inputs.previousVersion }} JRELEASER_GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} steps: