feat: tag and publish a Gitea release on every push to master
Release / release (push) Successful in 6s

A plugin installed as a bare git+https URL is pinned to a commit, so with no
tags there is nothing for `dsh plugin update` to move to. The workflow reads
the commit subjects since the last tag, bumps package.json, prepends
CHANGELOG.md, tags vX.Y.Z, and publishes the Gitea release with those subjects
as the body. The decision logic lives in .gitea/scripts/release.sh so it runs
and is tested without a runner (`npm run test:release`).
This commit is contained in:
NotExpectedYet committed 2026-09-26 06:45:52 +01:00
1 parent 0858862cda
commit cd43e87684
7 files changed
+724 -1

No files matched your search

+4 -1
View File
@@ -29,7 +29,10 @@
"node": ">=22.5"
},
"scripts": {
"test": "node --test test/*.test.js"
"test": "node --test test/*.test.js",
"test:release": "bash .gitea/scripts/release.test.sh",
"release:plan": "bash .gitea/scripts/release.sh should-release \"$(bash .gitea/scripts/release.sh range)\"",
"release:notes": "bash .gitea/scripts/release.sh notes \"$(bash .gitea/scripts/release.sh range)\""
},
"dsh": {
"bundle": {