Skip to content

Commit 4fb8ee4

Browse files
committed
use annotated tags in release workflow
1 parent 523b478 commit 4fb8ee4

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
6262
git add ${{ env.changelog }}
6363
git commit --message "Release ${{ inputs.tag }}"
64-
git tag ${{ inputs.tag }}
64+
git tag ${{ inputs.tag }} --annotate --message "Release ${{ inputs.tag }}"
6565
git push origin HEAD:${{ github.ref_name }} --tags
6666
6767
- name: Create release

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Changed
11+
12+
- Use annotated tags instead of lightweight tags in release workflow.
13+
1014
## [0.6.1] - 2024-05-23
1115

1216
### Changed

src/.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
7777
git add ${{ env.changelog }} ${{ env.thunderstore-config }}
7878
git commit --message "Release ${{ inputs.tag }}"
79-
git tag ${{ inputs.tag }}
79+
git tag ${{ inputs.tag }} --annotate --message "Release ${{ inputs.tag }}"
8080
git push origin HEAD:${{ github.ref_name }} --tags
8181
8282
- name: Create release

0 commit comments

Comments
 (0)