Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
70ae9ebc85 | |||
94d69f193a
|
|||
b75e412192
|
@@ -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.3.2](https://git.0xmax42.io/actions/auto-changelog-release-action/compare/v0.3.1..v0.3.2) - 2025-06-29
|
||||||
|
|
||||||
|
### 🚜 Refactor
|
||||||
|
|
||||||
|
- *(action)* Simplify script invocation syntax - ([b75e412](https://git.0xmax42.io/actions/auto-changelog-release-action/commit/b75e4121928131c1a1c0cbdea954a4fd602edd1a))
|
||||||
|
|
||||||
## [0.3.1](https://git.0xmax42.io/actions/auto-changelog-release-action/compare/v0.3.0..v0.3.1) - 2025-06-29
|
## [0.3.1](https://git.0xmax42.io/actions/auto-changelog-release-action/compare/v0.3.0..v0.3.1) - 2025-06-29
|
||||||
|
|
||||||
### ⚙️ Miscellaneous Tasks
|
### ⚙️ Miscellaneous Tasks
|
||||||
|
15
action.yml
15
action.yml
@@ -26,33 +26,36 @@ runs:
|
|||||||
GITHUB_SHA: ${{ github.sha || '' }}
|
GITHUB_SHA: ${{ github.sha || '' }}
|
||||||
GITHUB_REF: ${{ github.ref || '' }}
|
GITHUB_REF: ${{ github.ref || '' }}
|
||||||
run: |
|
run: |
|
||||||
bash ${{ github.action_path }}/scripts/detect-version-change.sh
|
${{ github.action_path }}/scripts/detect-version-change.sh
|
||||||
|
|
||||||
- name: Read CLIFF_VERSION
|
- name: Read CLIFF_VERSION
|
||||||
shell: bash
|
shell: bash
|
||||||
id: cliff_version
|
id: cliff_version
|
||||||
run: bash ${{ github.action_path }}/scripts/read-cliff-version.sh
|
run: |
|
||||||
|
${{ github.action_path }}/scripts/read-cliff-version.sh
|
||||||
|
|
||||||
- name: Install git-cliff
|
- name: Install git-cliff
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
bash ${{ github.action_path }}/scripts/install-git-cliff.sh "${{ steps.cliff_version.outputs.version }}"
|
${{ github.action_path }}/scripts/install-git-cliff.sh "${{ steps.cliff_version.outputs.version }}"
|
||||||
|
|
||||||
- name: Set up git
|
- name: Set up git
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
bash ${{ github.action_path }}/scripts/setup-git.sh \
|
${{ github.action_path }}/scripts/setup-git.sh \
|
||||||
"${{ inputs.author_name }}" \
|
"${{ inputs.author_name }}" \
|
||||||
"${{ 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' || github.ref != 'refs/heads/main'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: bash ${{ github.action_path }}/scripts/generate-unreleased-changelog.sh
|
run: |
|
||||||
|
${{ 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' && github.ref == 'refs/heads/main'
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
RELEASE_PUBLISH_TOKEN: ${{ inputs.token || '' }}
|
RELEASE_PUBLISH_TOKEN: ${{ inputs.token || '' }}
|
||||||
run: bash ${{ github.action_path }}/scripts/release-from-version.sh
|
run: |
|
||||||
|
${{ github.action_path }}/scripts/release-from-version.sh
|
||||||
|
Reference in New Issue
Block a user