chore(main): release 1.0.1 (#13) #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: release-please | |
on: | |
push: | |
branches: [main] | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
release-please: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: google-github-actions/release-please-action@cc61a07e2da466bebbc19b3a7dd01d6aecb20d1e # v4.0.2 | |
id: release | |
with: | |
release-type: node | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Configure Git | |
if: steps.release.outputs.release_created == 'true' | |
run: | | |
git config user.name github-actions[bot] | |
git config user.email 41898282+github-actions[bot]@users.noreply.github.com | |
- name: Update major version tag | |
if: steps.release.outputs.release_created == 'true' | |
run: | | |
# Update the major version tag to point to the new release | |
git tag --force v${{ steps.release.outputs.major }} v${{ steps.release.outputs.version }} | |
git push --force v${{ steps.release.outputs.major }} |