6 Commits
v0.4.1 ... main

Author SHA1 Message Date
313ace34fe chore(changelog): update changelog for v0.4.3
All checks were successful
Create Major Version Tag / update-major-tag (release) Successful in 5s
2025-06-29 12:18:09 +00:00
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
03add717be chore(changelog): update changelog for v0.4.2
All checks were successful
Create Major Version Tag / update-major-tag (release) Successful in 4s
2025-06-29 12:13:42 +00:00
01986944f0 chore(version): bump version to 0.4.2
All checks were successful
Auto Changelog & Release / release (push) Successful in 8s
2025-06-29 14:13:34 +02:00
c25b2e9cd5 fix(action): update conditions for version detection
- Remove branch-specific checks from conditional statements
- Simplify logic for changelog generation and release steps
- Ensure consistent behavior regardless of branch context
2025-06-29 14:13:34 +02:00
4 changed files with 17 additions and 4 deletions

View File

@@ -2,6 +2,18 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
## [0.4.3](https://git.0xmax42.io/actions/auto-changelog-release-action/compare/v0.4.2..v0.4.3) - 2025-06-29
### 🐛 Bug Fixes
- *(script)* Use dynamic branch name for git push - ([27ee174](https://git.0xmax42.io/actions/auto-changelog-release-action/commit/27ee1746dbc7b2c6c1564a04c024337ff158a9c5))
## [0.4.2](https://git.0xmax42.io/actions/auto-changelog-release-action/compare/v0.4.1..v0.4.2) - 2025-06-29
### 🐛 Bug Fixes
- *(action)* Update conditions for version detection - ([c25b2e9](https://git.0xmax42.io/actions/auto-changelog-release-action/commit/c25b2e9cd551e923b84cd144b818940fd5e1ccff))
## [0.4.1](https://git.0xmax42.io/actions/auto-changelog-release-action/compare/v0.4.0..v0.4.1) - 2025-06-29 ## [0.4.1](https://git.0xmax42.io/actions/auto-changelog-release-action/compare/v0.4.0..v0.4.1) - 2025-06-29
### 🐛 Bug Fixes ### 🐛 Bug Fixes

View File

@@ -1 +1 @@
0.4.1 0.4.3

View File

@@ -52,13 +52,13 @@ runs:
"${{ inputs.author_email }}" "${{ inputs.author_email }}"
- name: Generate and commit changelog (unreleased) - name: Generate and commit changelog (unreleased)
if: steps.detect.outputs.version_changed == 'false' || github.ref != 'refs/heads/main' if: steps.detect.outputs.version_changed == 'false'
shell: bash shell: bash
run: | run: |
${{ github.action_path }}/scripts/generate-unreleased-changelog.sh ${{ github.action_path }}/scripts/generate-unreleased-changelog.sh
- name: Release from VERSION - name: Release from VERSION
if: steps.detect.outputs.version_changed == 'true' && github.ref == 'refs/heads/main' if: steps.detect.outputs.version_changed == 'true'
shell: bash shell: bash
env: env:
RELEASE_PUBLISH_TOKEN: ${{ inputs.token || '' }} RELEASE_PUBLISH_TOKEN: ${{ inputs.token || '' }}

View File

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