Compare commits

...

6 Commits

Author SHA1 Message Date
8ffaa90594 ci: test with semantic-release without git 2025-09-20 10:03:50 +02:00
c3a7f917a9 ci: try with commit-and-tag-version v3 2025-09-20 00:04:31 +02:00
de15869ceb ci: try with commit-and-tag-version v2 2025-09-20 00:00:54 +02:00
159518b08c ci: try with commit-and-tag-version 2025-09-19 23:35:07 +02:00
semantic-release-bot
8ab72fcdeb chore(release): 1.0.0 [skip ci]
# 1.0.0 (2025-09-19)

### Bug Fixes

* **prometheus-exporter:** fix metric naming to be consistent with prometheus reqs ([431b73e](431b73ee2d))

### Features

* expose production/consumption metrics as metrics.prom ([8a91112](8a911129f6))
* **prometheus-exporter:** add metrics-pole for power metrics ([25026b2](25026b2e73))
2025-09-19 21:12:45 +00:00
f962a5a85d ci: semantic-release 2025-09-19 23:11:46 +02:00
3 changed files with 40 additions and 7 deletions

View File

@@ -0,0 +1,20 @@
name: Release
on:
workflow_dispatch:
permissions:
contents: read # for checkout
jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Determine release version and changelog
run: npx semantic-release

11
.releaserc.json Normal file
View File

@@ -0,0 +1,11 @@
{
"branches": [
"main",
"beta"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator"
],
"publish": false
}

View File

@@ -4,6 +4,8 @@
"title": "Prometheus Exporter for Factorio", "title": "Prometheus Exporter for Factorio",
"author": "Bjorn Pijnacker", "author": "Bjorn Pijnacker",
"factorio_version": "2.0", "factorio_version": "2.0",
"dependencies": ["base >= 2.0"], "dependencies": [
"base >= 2.0"
],
"description": "Exports certain production and consumption metrics to Prometheus format, to be used by Prometheus/Grafana monitoring stack" "description": "Exports certain production and consumption metrics to Prometheus format, to be used by Prometheus/Grafana monitoring stack"
} }