Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
313ace34fe | |||
df2ba3b060
|
|||
27ee1746db
|
@@ -2,6 +2,12 @@
|
|||||||
|
|
||||||
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
|
## [0.4.2](https://git.0xmax42.io/actions/auto-changelog-release-action/compare/v0.4.1..v0.4.2) - 2025-06-29
|
||||||
|
|
||||||
### 🐛 Bug Fixes
|
### 🐛 Bug Fixes
|
||||||
|
@@ -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 ===
|
||||||
|
Reference in New Issue
Block a user