Skip to content

Commit

Permalink
fix(release-please): changed to GitHub plugin (#891)
Browse files Browse the repository at this point in the history
## Introduction ✏️
Updated to GitHub plugin instead of `release-please` CLI command.

Co-authored-by: Abhi Markan <[email protected]>
  • Loading branch information
abhi-markan and abhi-markan committed May 22, 2024
1 parent 0d2a919 commit 8f3b044
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# MDM Git Hub Actions
# Git Hub Actions
#####################################
# This GHA is responsible for creating automated
# GitHub release based PRs. Once the PR is merged,
# Google Release Please will update the `CHANGELOG.md`,
# `README.md` and `package.json` files, followed by
# tagging the commit with the appropriate version
# number (as per SemVer) and creating a GitHub tag for the release.
# GitHub release based PR. Once the PR is merged
# Google release please will update the `CHANGELOG.md`
# `README.md` and `package.json` files.
# Followed by tagging the commit with the appropriate version
# number (as per SemVer) and create a GitHub release on the tag.

name: Automated release
run-name: Executing release on ${{ github.repository }} 🚀
Expand Down Expand Up @@ -45,10 +45,8 @@ jobs:
- name: Repository
uses: actions/checkout@v4

- name: Dependencies
working-directory: ./
run: npm ci --legacy-peer-deps

- name: Create
working-directory: ./
run: npx release-please release-pr --token=${{ secrets.RELEASE_TOKEN }} --repo-url=https://github.com/${{ github.repository }} --release-type=node
uses: googleapis/release-please-action@v4
with:
token: ${{ secrets.RELEASE_TOKEN }}
release-type: node

0 comments on commit 8f3b044

Please sign in to comment.