From b4a4003f654f72719caa6e11d92f1b23c32faaf2 Mon Sep 17 00:00:00 2001 From: Samantha Betts Date: Mon, 13 Nov 2023 17:10:58 +0000 Subject: [PATCH] add changelog --- .github/workflows/release.yml | 23 +++++------------------ CHANGELOG.md | 1 + package.json | 3 +-- 3 files changed, 7 insertions(+), 20 deletions(-) create mode 100644 CHANGELOG.md diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index adf5710..a266277 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..505d21d --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1 @@ +# CHANGELOG \ No newline at end of file diff --git a/package.json b/package.json index 0f7c345..cc9f6cb 100644 --- a/package.json +++ b/package.json @@ -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": [