diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index ee86333..02042d9 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -30,9 +30,13 @@ jobs: - name: Push changelog and tag run: git push --follow-tags - - name: Get latest tag + - name: Get latest tag and changelog fragment id: tag - run: echo tag="$(git describe --tags --abbrev=0)" >> $GITHUB_OUTPUT + run: | + echo tag="$(git describe --tags --abbrev=0)" >> $GITHUB_OUTPUT + echo "changelog<> $GITHUB_OUTPUT + awk '/^## / { if (version_found) exit; version_found=1 } version_found { print }' CHANGELOG.md | sed '1d' >> $GITHUB_OUTPUT + echo "EOF" >> $GITHUB_OUTPUT - name: Create release uses: akkuman/gitea-release-action@v1 diff --git a/CHANGELOG.md b/CHANGELOG.md index e69de29..9737372 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -0,0 +1,30 @@ +# Changelog + +All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines. + +## 1.1.0 (2025-09-20) + + +### Features + +* expose production/consumption metrics as metrics.prom ([8a91112](https://git.bjornp.com/bjorn/factorio-prometheus-exporter/commit/8a911129f68eef90db974abcb8be9b059e5567c3)) +* **prometheus-exporter:** add metrics-pole for power metrics ([25026b2](https://git.bjornp.com/bjorn/factorio-prometheus-exporter/commit/25026b2e732cb8a1074e8d8f73edf576565f3b9e)) + + +### Bug Fixes + +* **prometheus-exporter:** fix metric naming to be consistent with prometheus reqs ([431b73e](https://git.bjornp.com/bjorn/factorio-prometheus-exporter/commit/431b73ee2dd7b3d78076a4eda6af813072f18678)) + +## 1.1.0 (2025-09-20) + + +### Features + +* expose production/consumption metrics as metrics.prom ([8a91112](https://git.bjornp.com/bjorn/factorio-prometheus-exporter/commit/8a911129f68eef90db974abcb8be9b059e5567c3)) +* **prometheus-exporter:** add metrics-pole for power metrics ([25026b2](https://git.bjornp.com/bjorn/factorio-prometheus-exporter/commit/25026b2e732cb8a1074e8d8f73edf576565f3b9e)) + + +### Bug Fixes + +* **prometheus-exporter:** fix metric naming to be consistent with prometheus reqs ([431b73e](https://git.bjornp.com/bjorn/factorio-prometheus-exporter/commit/431b73ee2dd7b3d78076a4eda6af813072f18678)) + diff --git a/src/info.json b/src/info.json index 8f58ca9..eba1d8b 100644 --- a/src/info.json +++ b/src/info.json @@ -8,4 +8,4 @@ "base >= 2.0" ], "description": "Exports certain production and consumption metrics to Prometheus format, to be used by Prometheus/Grafana monitoring stack" -} +} \ No newline at end of file