diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 1a61b3d9..7ac3e10c 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -51,5 +51,3 @@ template: | ## Changes $CHANGES - - **Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...$REPOSITORY-v$RESOLVED_VERSION diff --git a/.github/workflows/extension-attach-artifact-release.yml b/.github/workflows/extension-attach-artifact-release.yml index 633e806a..4e480e64 100644 --- a/.github/workflows/extension-attach-artifact-release.yml +++ b/.github/workflows/extension-attach-artifact-release.yml @@ -191,7 +191,7 @@ jobs: version=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout) RELEASE_TITLE="v$version" echo "Updating release title to $RELEASE_TITLE" - curl -X PATCH -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" -H "Authorization: Bearer ${{ secrets.BOT_TOKEN }}" -d '{"name": "'"$RELEASE_TITLE"'"}' "https://api.github.com/repos/${{ github.repository }}/releases/${{ env.RELEASE_ID }}" + curl -X PATCH -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" -H "Authorization: Bearer ${{ secrets.BOT_TOKEN }}" -d '{"name": "'"$RELEASE_TITLE"'", "tag_name": "'"v$version"'"}' "https://api.github.com/repos/${{ github.repository }}/releases/${{ env.RELEASE_ID }}" - name: Attach Files to Draft Release id: upload-release-asset diff --git a/.github/workflows/extension-release-prepare.yml b/.github/workflows/extension-release-prepare.yml index 96e71d7b..788cef1f 100644 --- a/.github/workflows/extension-release-prepare.yml +++ b/.github/workflows/extension-release-prepare.yml @@ -93,7 +93,9 @@ jobs: mvn -B build-helper:parse-version release:clean release:prepare \ -Darguments="-Dusername=liquibot -Dpassword=${{ secrets.BOT_TOKEN }} -Dmaven.javadoc.skip=true -Dmaven.test.skipTests=true -Dmaven.test.skip=true -Dmaven.deploy.skip=true" \ -DdevelopmentVersion=\${parsedVersion.majorVersion}.\${parsedVersion.nextMinorVersion}.0-SNAPSHOT -DnewVersion=\${parsedVersion.majorVersion}.\${parsedVersion.nextMinorVersion}.\${parsedVersion.incrementalVersion} \ - -DcheckModificationExcludeList=pom.xml + -DcheckModificationExcludeList=pom.xml -DpushChanges=false -Dtag=temp + git tag -d temp + git push --force - name: Save Release files if: always() diff --git a/.github/workflows/extension-release-published.yml b/.github/workflows/extension-release-published.yml index f4366a79..7e402dc3 100644 --- a/.github/workflows/extension-release-published.yml +++ b/.github/workflows/extension-release-published.yml @@ -16,7 +16,7 @@ on: deployToMavenCentral: description: 'Specify it if you want to deploy to maven' required: false - default: 'true' + default: true type: boolean secrets: SONATYPE_USERNAME: @@ -28,7 +28,7 @@ on: jobs: maven-release: - uses: liquibase/build-logic/.github/workflows/extension-release-prepare.yml@v0.7.8 + uses: liquibase/build-logic/.github/workflows/extension-release-prepare.yml@main if: inputs.deployToMavenCentral == true secrets: inherit with: