diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9006ff203a..8fe5543e0e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,6 +6,8 @@ on: paths: - './version.json' workflow_dispatch: + branches: + - master jobs: build: @@ -22,7 +24,11 @@ jobs: - name: Get changelog id: get_changelog run: | - echo "changelog=$(sed -n '/## '${version}'/,/##/p' CHANGELOG.md | head -n -1 | tail -n +2)" >> $GITHUB_ENV + echo "changelog=$(sed -n '/## ${{ env.version }}/,/^##/p' CHANGELOG.md)" >> $GITHUB_ENV + + - name: Print Changelog + run: | + echo "Changelog: ${{ env.changelog }}" - name: Create Release id: create_release diff --git a/CHANGELOG.md b/CHANGELOG.md index c5fa767488..765f801b3e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -95,3 +95,19 @@ - Removed configuration items: whether to filter invalid interfaces, always perform filtering - Removed sorting by date, using response time and resolution as sorting rules - Updated README: added modification update frequency, file proxy description, update log + +## 1.0.1 + +### 2024/3/27 + +- test + +--- + +-test + +### 2024/3/28 + +## -test + +-test