Skip to content

Commit fbda5b5

Browse files
authored
fix(gha): no commit during GitHub release (#29)
1 parent acc4bcf commit fbda5b5

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

scripts/release-github.sh

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
#!/bin/bash
22

33
# This script is used to create a GitHub release.
4-
# - Tag the commit and push it to GitHub.
4+
# - Tag the commit and push the tag to GitHub.
55
# - Create a GitHub release with assets.
6-
# - Update the changelog.
6+
# - Include the changelog in the release notes.
77

88
set -euo pipefail
99

1010
uv run semantic-release version \
11-
--skip-build \
12-
--push
11+
--skip-build \ # Built in another task.
12+
--no-commit \ # Work with main branch protection settings.
13+
--no-changelog \ # A changelog body will still be included in the release notes.
14+
--push \ # Push the tag to GitHub (not a commit).
15+
--vcs-release # Create a GitHub release.

0 commit comments

Comments
 (0)