Compare commits
6 Commits
main
...
8ffaa90594
| Author | SHA1 | Date | |
|---|---|---|---|
| 8ffaa90594 | |||
| c3a7f917a9 | |||
| de15869ceb | |||
| 159518b08c | |||
|
|
8ab72fcdeb | ||
| f962a5a85d |
20
.gitea/workflows/release.yml
Normal file
20
.gitea/workflows/release.yml
Normal 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
11
.releaserc.json
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"branches": [
|
||||||
|
"main",
|
||||||
|
"beta"
|
||||||
|
],
|
||||||
|
"plugins": [
|
||||||
|
"@semantic-release/commit-analyzer",
|
||||||
|
"@semantic-release/release-notes-generator"
|
||||||
|
],
|
||||||
|
"publish": false
|
||||||
|
}
|
||||||
@@ -1,9 +1,11 @@
|
|||||||
{
|
{
|
||||||
"name": "prometheus-exporter",
|
"name": "prometheus-exporter",
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"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": [
|
||||||
"description": "Exports certain production and consumption metrics to Prometheus format, to be used by Prometheus/Grafana monitoring stack"
|
"base >= 2.0"
|
||||||
|
],
|
||||||
|
"description": "Exports certain production and consumption metrics to Prometheus format, to be used by Prometheus/Grafana monitoring stack"
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user