Skip to content

Commit

Permalink
chore: setup release-please (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
jooola authored Dec 18, 2023
1 parent 6add9fb commit e64ee24
Show file tree
Hide file tree
Showing 9 changed files with 31 additions and 82 deletions.
31 changes: 0 additions & 31 deletions .chglog/CHANGELOG.md.tpl

This file was deleted.

25 changes: 0 additions & 25 deletions .chglog/config.yml

This file was deleted.

11 changes: 11 additions & 0 deletions .github/release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"bootstrap-sha": "e0c14902e04a94400d543861f630beadb5156114",
"include-component-in-tag": false,
"packages": {
".": {
"release-type": "python",
"package-name": "gh-release-install"
}
}
}
1 change: 1 addition & 0 deletions .github/release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{".":"0.11.0"}
16 changes: 16 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Release please

on:
push:
branches: [main]

jobs:
release-please:
if: github.repository == 'jooola/gh-release-install'

runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v4
with:
config-file: .github/release-please-config.json
manifest-file: .github/release-please-manifest.json
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ repos:
hooks:
- id: prettier
files: \.(md|yml|yaml|json)$
exclude: (\.github/release-please-manifest\.json|CHANGELOG\.md)$

- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Changelog

<a name="v0.11.0"></a>

## [v0.11.0](https://github.com/jooola/gh-release-install/compare/v0.10.1...v0.11.0) (2023-05-30)
Expand Down
6 changes: 0 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,3 @@ examples: install

ci-publish: install
poetry publish --no-interaction --build

changelog:
git-chglog --output CHANGELOG.md
if command -v npx > /dev/null; then npx prettier --write CHANGELOG.md; fi
git add CHANGELOG.md
git commit -m "docs: regenerate changelog"
20 changes: 0 additions & 20 deletions RELEASE.md

This file was deleted.

0 comments on commit e64ee24

Please sign in to comment.