Skip to content

Commit

Permalink
fix release script (#704)
Browse files Browse the repository at this point in the history
* fix: release scripts missing content

* update chagelog
  • Loading branch information
RayWangQvQ authored May 2, 2024
1 parent afdb0da commit 1489dc6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
default: true
type: boolean
release:
types: [published]
types: [created]

env:
DOCKERHUB_USERNAME : ${{ secrets.DOCKERHUB_USERNAME }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ jobs:
- name: Extract Release Notes
id: release_notes
run: |
content=$(grep -m1 "##" -A 1000 ./CHANGELOG.md)
content=$(sed -n '/^## /{p;:a;n;/^## /q;p;ba}' CHANGELOG.md)
version=$(echo "$GITHUB_REF" | sed 's/refs\/tags\///')
echo "::set-output name=content::$content"
echo "::set-output name=content::$content"
echo "::set-output name=version::$version"
- name: Create Release
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## 2.0.6
- Feature[#670]: 新增针对App的AppUserAgent配置项
- Fix: 修复CICD发布脚本错误
## 2.0.5
- Fix[#260]: 再次尝试修复大会员大积分“账号风险”异常
## 2.0.4
Expand Down

0 comments on commit 1489dc6

Please sign in to comment.