From 0b132fa04276bb38562fd504464f3e85b21286ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=B7=E5=86=B7?= <2270033969@qq.com> Date: Thu, 7 Mar 2024 10:49:23 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=203.2.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/renovate.json | 7 ++++ .github/workflows/github-release.yml | 34 +++++++++++++++++++ README.md | 2 ++ pom.xml | 2 +- ...ot.autoconfigure.AutoConfiguration.imports | 2 -- 5 files changed, 44 insertions(+), 3 deletions(-) create mode 100644 .github/renovate.json create mode 100644 .github/workflows/github-release.yml diff --git a/.github/renovate.json b/.github/renovate.json new file mode 100644 index 0000000..5db71e1 --- /dev/null +++ b/.github/renovate.json @@ -0,0 +1,7 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "baseBranches": ["jdk17-dev", "boot-dev"], + "extends": [ + "config:recommended" + ] +} diff --git a/.github/workflows/github-release.yml b/.github/workflows/github-release.yml new file mode 100644 index 0000000..d3500ed --- /dev/null +++ b/.github/workflows/github-release.yml @@ -0,0 +1,34 @@ +name: publish github release + +on: + workflow_dispatch: + inputs: + releaseversion: + description: 'Release version' + required: true + default: '3.7.0' + +jobs: + publish-github-release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Generate changelog + id: changelog + uses: metcalfc/changelog-generator@v4.3.1 + with: + myToken: ${{ secrets.GH_TOKEN }} + + - name: Create GitHub Release + id: create_release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + with: + tag_name: ${{ github.event.inputs.releaseversion }} + release_name: ${{ github.event.inputs.releaseversion }} + body: | + ### Things that changed in this release + ${{ steps.changelog.outputs.changelog }} + draft: false + prerelease: ${{ contains(github.event.inputs.releaseversion, '-') }} diff --git a/README.md b/README.md index 302ac31..a45e621 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,8 @@ ### 配置应用 +1709779710 + 这里以3个微服务来举例子。 1. `log-trace-gateway-demo` 充当网关功能 diff --git a/pom.xml b/pom.xml index 7272bad..3aad7d5 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.pig4cloud.plugin log-trace-spring-boot3-starter - 3.2.0-SNAPSHOT + 3.2.0 jar log-trace-spring-boot-starter diff --git a/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports b/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports index 9d728f2..f551dba 100644 --- a/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports +++ b/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports @@ -3,6 +3,4 @@ com.pig4cloud.trace.instrument.servlet.TraceServletConfiguration com.pig4cloud.trace.instrument.reactive.TraceReactiveConfiguration com.pig4cloud.trace.instrument.gateway.TraceGatewayAutoConfiguration com.pig4cloud.trace.instrument.feign.TraceFeignClientAutoConfiguration -com.pig4cloud.trace.instrument.zuul.TraceZuulAutoConfiguration com.pig4cloud.trace.instrument.resttemplate.TraceRestTemplateConfiguration -com.pig4cloud.trace.instrument.dubbo.TraceDubboConfiguration