From d85037d76966025d23c90aa7a973ccbe398b6928 Mon Sep 17 00:00:00 2001 From: Chen Asraf Date: Tue, 3 Dec 2024 04:04:25 +0200 Subject: [PATCH] ci: fix conventional commits workflow, changelog --- .github/workflows/block-unconventional-commits.yml | 2 +- .github/workflows/release.yml | 5 ++++- CHANGELOG.md | 8 -------- 3 files changed, 5 insertions(+), 10 deletions(-) delete mode 100644 CHANGELOG.md diff --git a/.github/workflows/block-unconventional-commits.yml b/.github/workflows/block-unconventional-commits.yml index 87e3464..3cf0a52 100644 --- a/.github/workflows/block-unconventional-commits.yml +++ b/.github/workflows/block-unconventional-commits.yml @@ -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 }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index df9cd41..cc96d33 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index 35be9d2..0000000 --- a/CHANGELOG.md +++ /dev/null @@ -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). - -