mirror of
https://github.com/jimeh/yank-indent.git
synced 2026-02-19 01:26:40 +00:00
ci(release): setup release-please
Setup release-please to handle version bumping, changelog generation, and creating releases on GitHub.
This commit is contained in:
16
.github/workflows/release-please.yml
vendored
Normal file
16
.github/workflows/release-please.yml
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
---
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
release-please:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.ref == 'refs/heads/main'
|
||||
outputs:
|
||||
release_created: ${{ steps.release-please.outputs.release_created }}
|
||||
tag_name: ${{ steps.release-please.outputs.tag_name }} # e.g. v1.0.0
|
||||
version: ${{ steps.release-please.outputs.version }} # e.g. 1.0.0
|
||||
steps:
|
||||
- uses: google-github-actions/release-please-action@v3
|
||||
id: release-please
|
||||
with:
|
||||
command: manifest
|
||||
3
.release-please-manifest.json
Normal file
3
.release-please-manifest.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
".": "0.1.1"
|
||||
}
|
||||
18
release-please-config.json
Normal file
18
release-please-config.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"bootstrap-sha": "e3fdaa7f673a8b8d43c2ac16f8a3cdfe8b3ab6c1",
|
||||
"last-release-sha": "e3fdaa7f673a8b8d43c2ac16f8a3cdfe8b3ab6c1",
|
||||
"packages": {
|
||||
".": {
|
||||
"release-type": "simple",
|
||||
"changelog-path": "CHANGELOG.md",
|
||||
"bump-minor-pre-major": true,
|
||||
"bump-patch-for-minor-pre-major": true,
|
||||
"draft": false,
|
||||
"prerelease": false,
|
||||
"extra-files": [
|
||||
"yank-indent.el"
|
||||
]
|
||||
}
|
||||
},
|
||||
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
|
||||
}
|
||||
@@ -3,8 +3,10 @@
|
||||
;; Author: Jim Myhrberg <contact@jimeh.me>
|
||||
;; URL: https://github.com/jimeh/yank-indent
|
||||
;; Keywords: convenience, yank, indent
|
||||
;; Version: 0.1.0
|
||||
;; Package-Requires: ((emacs "25.1"))
|
||||
;; x-release-please-start-version
|
||||
;; Version: 0.1.0
|
||||
;; x-release-please-end
|
||||
|
||||
;; This file is not part of GNU Emacs.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user