Skip to content

Commit

Permalink
[publish] 6.0.12 Update github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Bkm016 committed Dec 29, 2023
1 parent 3a1f4d5 commit e04fcba
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/build-publish-6.0.12.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,13 @@ jobs:
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
run: ./gradlew publish -Pbuild=$GITHUB_RUN_NUMBER -PtaboolibUsername=$NEXUS_USERNAME -PtaboolibPassword=$NEXUS_PASSWORD

# 获取 commit 信息
- name: get commit messages
id: get_commits
run: |
commit_messages=$(git log $(git describe --tags --abbrev=0)..HEAD --pretty=format:"- %s")
echo "::set-output name=messages::$commit_messages"
# 发布到 GitHub
- name: create release
uses: actions/create-release@v1
Expand All @@ -76,6 +83,6 @@ jobs:
with:
tag_name: 6.0.12-${{ github.run_number }}
release_name: 6.0.12-${{ github.run_number }}
release_notes: |-
body: |
## 🤨 本次更新都有哪些主要改动?
- ${{ github.event.head_commit.message }}
${{ steps.get_commits.outputs.messages }}

0 comments on commit e04fcba

Please sign in to comment.