Skip to content

Commit

Permalink
chore: amend version freezes on release-please PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
jrandolf committed May 31, 2022
1 parent 9211015 commit 9c852ce
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/release-please.yml
@@ -1,3 +1,4 @@
releaseType: node
primaryBranch: main
handleGHRelease: true
manifest: true
26 changes: 26 additions & 0 deletions .github/workflows/pre-release.yml
@@ -0,0 +1,26 @@
name: Publish

on:
push:
branches:
- release-please-*

jobs:
pre-publish:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
run: npm install
- name: Build
run: |
node utils/generate_version_file.js
IS_PRE_RELEASE=1 npm run doc
- name: Commit and push
run: |
git add -A
git commit --amend --no-edit
git push -f

0 comments on commit 9c852ce

Please sign in to comment.