2 Commits

Author SHA1 Message Date
df2ba3b060 chore(version): bump version to 0.4.3
All checks were successful
Auto Changelog & Release / release (push) Successful in 8s
2025-06-29 14:18:02 +02:00
27ee1746db fix(script): use dynamic branch name for git push 2025-06-29 14:18:02 +02:00
2 changed files with 3 additions and 2 deletions

View File

@@ -1 +1 @@
0.4.2
0.4.3

View File

@@ -52,6 +52,7 @@ VERSION_FILE="VERSION"
CHANGELOG_FILE="CHANGELOG.md"
CLIFF_CONFIG="cliff.toml"
RELEASE_BODY_TMP="$(mktemp)"
GIT_BRANCH="${GITHUB_REF##refs/heads/}"
# === Step 1: Read version ===
if [[ ! -f "$VERSION_FILE" ]]; then
@@ -87,7 +88,7 @@ if git diff --cached --quiet; then
else
echo "📝 Committing updated changelog"
git commit -m "chore(changelog): update changelog for v$VERSION"
git push origin main
git push origin "$GIT_BRANCH"
fi
# === Step 4: Create tag if necessary ===