11 Commits

Author SHA1 Message Date
fd639d6a4b chore(changelog): update changelog for v1.2.7
All checks were successful
Create Major Version Tag / update-major-tag (release) Successful in 6s
2025-12-14 21:13:12 +00:00
eb2e19639a chore(version): bump version to 1.2.7
All checks were successful
Auto Changelog & Release / release (push) Successful in 8s
2025-12-14 22:12:58 +01:00
5cb6dbddfc chore(scripts): set default git-cliff version to 2.10.1 2025-12-14 22:12:53 +01:00
1187f6f3d2 chore(version): bump version to 1.2.6
All checks were successful
Auto Changelog & Release / release (push) Successful in 8s
Create Major Version Tag / update-major-tag (release) Successful in 5s
2025-12-14 22:09:55 +01:00
134b1543b3 chore(changelog): improve changelog script output and formatting 2025-12-14 22:09:43 +01:00
473db9aa2d chore(version): bump version to 1.2.5
All checks were successful
Auto Changelog & Release / release (push) Successful in 8s
Create Major Version Tag / update-major-tag (release) Successful in 7s
2025-12-14 22:04:05 +01:00
85901d62fc chore(changelog): add Gitea env vars to changelog and release scripts 2025-12-14 22:03:53 +01:00
8cdf29d1af Revert "fix(config): update template to generalize gitea remote and add postprocessors"
All checks were successful
Auto Changelog & Release / release (push) Successful in 17s
This reverts commit 51cfcdc648.
2025-12-14 22:01:04 +01:00
dbe738140b chore(changelog): update changelog for v1.2.4
All checks were successful
Create Major Version Tag / update-major-tag (release) Successful in 6s
2025-12-14 20:59:03 +00:00
3044bd6105 chore(version): bump version to 1.2.4
All checks were successful
Auto Changelog & Release / release (push) Successful in 10s
2025-12-14 21:58:51 +01:00
51cfcdc648 fix(config): update template to generalize gitea remote and add postprocessors 2025-12-14 21:58:38 +01:00
5 changed files with 24 additions and 5 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.
## [1.2.7](https://git.0xmax42.io/actions/auto-changelog-release-action/compare/v1.2.6..v1.2.7) - 2025-12-14
### ⚙️ Miscellaneous Tasks
- *(scripts)* Set default git-cliff version to 2.10.1 - ([5cb6dbd](https://git.0xmax42.io/actions/auto-changelog-release-action/commit/5cb6dbddfc37b72fb647d7649aefc59e3dc01345))
## [1.2.4](https://git.0xmax42.io/actions/auto-changelog-release-action/compare/v1.2.3..v1.2.4) - 2025-12-14
### 🐛 Bug Fixes
- *(config)* Update template to generalize gitea remote and add postprocessors - ([51cfcdc](https://git.0xmax42.io/actions/auto-changelog-release-action/commit/51cfcdc6488c878764193c33121144564e76c802))
## [1.2.3](https://git.0xmax42.io/actions/auto-changelog-release-action/compare/v1.2.2..v1.2.3) - 2025-11-24 ## [1.2.3](https://git.0xmax42.io/actions/auto-changelog-release-action/compare/v1.2.2..v1.2.3) - 2025-11-24
### 🐛 Bug Fixes ### 🐛 Bug Fixes

View File

@@ -1 +1 @@
1.2.3 1.2.7

View File

@@ -66,6 +66,9 @@ runs:
- name: Generate and commit changelog (unreleased) - name: Generate and commit changelog (unreleased)
if: steps.detect.outputs.version_changed == 'false' if: steps.detect.outputs.version_changed == 'false'
shell: bash shell: bash
env:
GITEA_TOKEN: ${{ inputs.token || '' }}
GITEA_API_URL: ${{ github.server_url }}/api/v1
run: | run: |
${{ github.action_path }}/scripts/generate-unreleased-changelog.sh ${{ github.action_path }}/scripts/generate-unreleased-changelog.sh
@@ -74,5 +77,7 @@ runs:
shell: bash shell: bash
env: env:
RELEASE_PUBLISH_TOKEN: ${{ inputs.token || '' }} RELEASE_PUBLISH_TOKEN: ${{ inputs.token || '' }}
GITEA_TOKEN: ${{ inputs.token || '' }}
GITEA_API_URL: ${{ github.server_url }}/api/v1
run: | run: |
${{ github.action_path }}/scripts/release-from-version.sh ${{ github.action_path }}/scripts/release-from-version.sh

View File

@@ -8,14 +8,16 @@ GIT_BRANCH="${GITHUB_REF##refs/heads/}"
# === Step 1: Generate Changelog (only if file exists or on main) === # === Step 1: Generate Changelog (only if file exists or on main) ===
if [[ -f "$CHANGELOG_FILE" || "$GIT_BRANCH" == "main" ]]; then if [[ -f "$CHANGELOG_FILE" || "$GIT_BRANCH" == "main" ]]; then
echo "📄 Generating $CHANGELOG_FILE using git-cliff..." echo "📄 Generating $CHANGELOG_FILE using git-cliff..."
git-cliff -c "$CLIFF_CONFIG" --context \ git-cliff -c "$CLIFF_CONFIG" --context |
| "${GITHUB_ACTION_PATH}/scripts/augment_context.py" \ "${GITHUB_ACTION_PATH}/scripts/augment_context.py" |
| git-cliff -c "$CLIFF_CONFIG" --from-context - -o "$CHANGELOG_FILE" git-cliff -c "$CLIFF_CONFIG" --from-context - -o "$CHANGELOG_FILE"
else else
echo "ℹ️ $CHANGELOG_FILE does not exist and branch is not 'main'. Skipping generation." echo "ℹ️ $CHANGELOG_FILE does not exist and branch is not 'main'. Skipping generation."
exit 0 exit 0
fi fi
echo "$CHANGELOG_FILE generation completed."
# === Step 2: Commit and push changes if any === # === Step 2: Commit and push changes if any ===
git add "$CHANGELOG_FILE" git add "$CHANGELOG_FILE"

View File

@@ -8,7 +8,7 @@ REPO="orhun/git-cliff"
ARCH_OS="x86_64-unknown-linux-gnu" ARCH_OS="x86_64-unknown-linux-gnu"
INSTALL_DIR="/usr/local/bin" INSTALL_DIR="/usr/local/bin"
if [[ -z "${1:-}" ]]; then if [[ -z "${1:-}" ]]; then
VERSION="latest" VERSION="2.10.1"
else else
VERSION="$1" VERSION="$1"
fi fi