Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
63da84fe0a
|
|||
| 4b3b1ab69f |
@@ -20,9 +20,9 @@ jobs:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Semver release
|
||||
uses: cocogitto/cocogitto-action@v3
|
||||
uses: cocogitto/cocogitto-action@v4
|
||||
with:
|
||||
# check-latest-tag-only: ${{ inputs.check-latest-tag-only }}
|
||||
check-latest-tag-only: true
|
||||
command: check
|
||||
args: --from-latest-tag
|
||||
git-user: "gitea-bot"
|
||||
git-user-email: "bot@git.palkoi.net"
|
||||
|
||||
@@ -28,20 +28,23 @@ jobs:
|
||||
git config --global user.name gitea-bot
|
||||
|
||||
- name: Semver release
|
||||
uses: cocogitto/cocogitto-action@v3
|
||||
uses: cocogitto/cocogitto-action@v4
|
||||
id: release
|
||||
with:
|
||||
release: true
|
||||
command: bump
|
||||
args: --auto
|
||||
git-user: "gitea-bot"
|
||||
git-user-email: "bot@git.palkoi.net"
|
||||
check-latest-tag-only: true
|
||||
# check-latest-tag-only: ${{ inputs.check-latest-tag-only }}
|
||||
|
||||
- name: Generate Changelog
|
||||
run: cog changelog --at ${{ steps.release.outputs.version }} -t full_hash > GITHUB_CHANGELOG.md
|
||||
id: changelog
|
||||
uses: cocogitto/cocogitto-action@v4
|
||||
with:
|
||||
command: changelog
|
||||
args: --at ${{ steps.release.outputs.version }} -t full_hash
|
||||
|
||||
- name: Upload github release
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
body_path: GITHUB_CHANGELOG.md
|
||||
body_path: ${{ steps.changelog.outputs.stdout }}
|
||||
tag_name: ${{ steps.release.outputs.version }}
|
||||
|
||||
Reference in New Issue
Block a user