ci: fix conventional commits workflow, changelog

This commit is contained in:
2024-12-03 04:04:25 +02:00
parent bb222d1270
commit d85037d769
3 changed files with 5 additions and 10 deletions

View File

@@ -26,6 +26,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- uses: webiny/action-conventional-commits@v1
- uses: webiny/action-conventional-commits@v1.3.0
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -57,6 +57,9 @@ jobs:
needs: [build]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Download builds
uses: actions/download-artifact@v4
@@ -66,7 +69,7 @@ jobs:
sudo apt-get install libxml2-utils
xmlfile="appinfo/info.xml"
version=$(xmllint --xpath "/info/version" appinfo/info.xml | cut -f2 -d'>' | cut -f1 -d'<')
version=$(xmllint --xpath "/info/version" "$xmlfile" | cut -f2 -d'>' | cut -f1 -d'<')
if [[ -z "$version" ]]; then
echo "Failed to get version from $xmlfile"
exit 1

View File

@@ -1,8 +0,0 @@
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project
adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
<!--CHANGELOG-PLACEHOLDER-->