Skip to content

Commit

Permalink
feat: change Github workflow and release-please config
Browse files Browse the repository at this point in the history
  • Loading branch information
yetti committed Jun 12, 2024
1 parent f9d2215 commit 60935d3
Show file tree
Hide file tree
Showing 6 changed files with 91 additions and 163 deletions.
38 changes: 0 additions & 38 deletions .github/workflows/release-hotfix.yml

This file was deleted.

37 changes: 0 additions & 37 deletions .github/workflows/release-main.yml

This file was deleted.

18 changes: 18 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# This workflow creates a release pull request whenever a change is pushed to 'main'.
# When the release pull request is merged into 'main', it will automatically create and tag a new
# release version.

name: Release automation
on:
push:
branches: ["dependabot/github_actions/google-github-actions/release-please-action-4"]
jobs:
release-please:
permissions:
contents: write
pull-requests: write
name: Create a new release
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v4
id: release
88 changes: 0 additions & 88 deletions .github/workflows/verify-upgrade.yml

This file was deleted.

3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "3.2.0"
}
70 changes: 70 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"release-type": "ruby",
"packages": {
".": {
"release-type": "ruby",
"package-name": "shelfie",
"bump-minor-pre-major": false,
"bump-patch-for-minor-pre-major": false,
"include-v-in-tag": false,
"version-file": "config/application.rb",
"changelog-sections": [
{
"type": "feat",
"section": "Features",
"hidden": false
},
{
"type": "fix",
"section": "Bug Fixes",
"hidden": false
},
{
"type": "perf",
"section": "Performance Improvements",
"hidden": false
},
{
"type": "revert",
"section": "Reverts",
"hidden": false
},
{
"type": "docs",
"section": "Documentation",
"hidden": false
},
{
"type": "style",
"section": "Styles",
"hidden": false
},
{
"type": "chore",
"section": "Miscellaneous",
"hidden": false
},
{
"type": "refactor",
"section": "Code Refactoring",
"hidden": false
},
{
"type": "test",
"section": "Tests",
"hidden": false
},
{
"type": "build",
"section": "Build System",
"hidden": false
},
{
"type": "ci",
"section": "Continuous Integration",
"hidden": false
}
]
}
}
}

0 comments on commit 60935d3

Please sign in to comment.