Skip to content

Commit

Permalink
dogfood
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Sep 12, 2022
1 parent 3e1900b commit 2b97d1d
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: |
git config --global user.name Olivaw[bot]
git config --global user.email [email protected]
- uses: iterative/setup-cml@v1
- name: Bump version
run: |
cml ci
git checkout -b bump/$(npm version ${{ github.event.inputs.bump }})
- name: Create PR
run: |
git push --set-upstream origin --follow-tags HEAD
gh pr create --title "Bump version to $(git describe --tags)" --body "Approve me 🤖"
gh pr merge --squash --auto
cml pr create --title "Bump version to $(git describe --tags)" --body "Approve me 🤖" --squash
env:
GITHUB_TOKEN: ${{ secrets.ADMIN_GITHUB_TOKEN }}
release:
Expand All @@ -30,7 +32,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- run:
gh release create --generate-notes {--title=CML\ ,}$(basename ${{
github.head_ref }})
gh release create --draft --generate-notes {--title=CML\ ,}$(basename
${{ github.head_ref }})
env:
GITHUB_TOKEN: ${{ secrets.ADMIN_GITHUB_TOKEN }}

1 comment on commit 2b97d1d

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Comment

CML watermark

Please sign in to comment.