ci(release): switch to release-please for release management (#91)

This commit is contained in:
2023-11-16 13:25:14 +00:00
committed by GitHub
parent bf81afeb4b
commit 680386a2f3
6 changed files with 23 additions and 20 deletions

3
.github/.release-please-manifest.json vendored Normal file
View File

@@ -0,0 +1,3 @@
{
".": "0.6.42"
}

14
.github/release-please-config.json vendored Normal file
View File

@@ -0,0 +1,14 @@
{
"bootstrap-sha": "3d6c7fff64bda8ba0dbea181c9f94fb9716dd188",
"packages": {
".": {
"release-type": "simple",
"changelog-path": "CHANGELOG.md",
"bump-minor-pre-major": true,
"bump-patch-for-minor-pre-major": true,
"draft": false,
"prerelease": false
}
},
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
}

View File

@@ -50,3 +50,9 @@ jobs:
run: make test
env:
VERBOSE: "true"
release-please:
runs-on: ubuntu-latest
if: github.ref_name == 'main' || github.ref_name == 'master'
steps:
- uses: jimeh/release-please-manifest-action@v1

View File

@@ -1 +0,0 @@
module.exports = {};

View File

@@ -1,7 +1,5 @@
# Changelog
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
### [0.6.42](https://github.com/jimeh/build-emacs-for-macos/compare/v0.6.41...v0.6.42) (2023-07-31)

View File

@@ -180,20 +180,3 @@ check-tidy:
mv go.sum.tidy-check go.sum; \
exit 1 \
)
#
# Release
#
.PHONY: new-version
new-version: check-npx
npx standard-version
.PHONY: next-version
next-version: check-npx
npx standard-version --dry-run
.PHONY: check-npx
check-npx:
$(if $(shell which npx),,\
$(error No npx execuable found in PATH, please install NodeJS))