Skip to content

Commit

Permalink
chore: remove temporary branch allowances
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan committed Aug 6, 2024
1 parent 0b5e418 commit 1120ac9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ on:
push:
branches:
- main
# @TODO just for testing that the setup is correct
- crx-833
workflow_dispatch:
inputs:
publish:
Expand Down Expand Up @@ -34,13 +32,11 @@ jobs:
id: release
with:
token: ${{ steps.app-token.outputs.token }}
# TODO just for testing that the setup is correct
target-branch: crx-833

# Publish to NPM on new releases
- uses: actions/checkout@v4
if: ${{ steps.release.outputs.release_created || github.event.inputs.publish == 'true' }}
- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v4
if: ${{ steps.release.outputs.release_created || github.event.inputs.publish == 'true' }}
- uses: actions/setup-node@v4
if: ${{ steps.release.outputs.release_created || github.event.inputs.publish == 'true' }}
Expand All @@ -62,7 +58,7 @@ jobs:
NODE_AUTH_TOKEN: ${{secrets.NPM_PUBLISH_TOKEN}}
# Release Please has already incremented versions and published tags, so we just
# need to publish the new version to npm here
- run: pnpm publish --publish-branch crx-833
- run: pnpm publish
if: ${{ steps.release.outputs.release_created || github.event.inputs.publish == 'true' }}
env:
NPM_CONFIG_PROVENANCE: true
4 changes: 1 addition & 3 deletions release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"packages": {
".": {
"release-as": "0.7.1",
"release-type": "node",
"bump-minor-pre-major": true,
"bump-patch-for-minor-pre-major": true
"bump-minor-pre-major": true
}
}
}

0 comments on commit 1120ac9

Please sign in to comment.