Skip to content

Commit

Permalink
add changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
sammbetts committed Nov 13, 2023
1 parent fdd6eb8 commit b4a4003
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 20 deletions.
23 changes: 5 additions & 18 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,30 +24,17 @@ jobs:
- run: yarn tsc
- run: yarn build

bump-version:
name: Bump version
release-please:
runs-on: ubuntu-latest
needs: lint
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use Node.js ${{ env.node-version }}
uses: actions/setup-node@v3
- uses: google-github-actions/release-please-action@v3
with:
node-version: ${{ env.node-version }}
cache: 'yarn'
- run: git pull
- run: yarn
- run: |
git config user.name "GitHub Actions Bot"
git config user.email "<>"
- run: yarn bump
- run: git push --follow-tags
release-type: node
package-name: '@sammbetts/backstage-plugin-service-health'

tagged-release:
name: Create tagged release
needs: [bump-version]
needs: [release-please]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# CHANGELOG
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
"test": "backstage-cli repo test",
"clean": "backstage-cli repo clean",
"prepack": "backstage-cli repo prepack",
"postpack": "backstage-cli repo postpack",
"bump": "npx release-please github-release"
"postpack": "backstage-cli repo postpack"
},
"workspaces": {
"packages": [
Expand Down

0 comments on commit b4a4003

Please sign in to comment.