Skip to content

Commit

Permalink
docs(main): auto release node using just
Browse files Browse the repository at this point in the history
Signed-off-by: cuisongliu <cuisongliu@qq.com>
  • Loading branch information
cuisongliu committed Nov 23, 2023
1 parent 08c0a23 commit 8e0c924
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
35 changes: 35 additions & 0 deletions .github/workflows/auto_version_up.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: 🤖 Auto Version Up

on:
workflow_dispatch:
inputs:
version:
description: 'Version to release'
required: true
default: '0.3.0'

jobs:
docs-pull-request:
name: Create Docs Pull Request
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Install just
uses: taiki-e/install-action@just
- name: Generator docs
run: |
sudo env PATH=$PATH just version-up ${{ inputs.version }}
- uses: peter-evans/create-pull-request@v5
with:
title: 'docs: Automated docs Update for ${{ inputs.version }}'
body: |
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action
commit-message: |
🤖 Automatically updates the version numbers in download links within the documentation.
branch: release-note-${{ inputs.version }}
base: main
signoff: true
labels: |
kind/documentation
delete-branch: true
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ jobs:
files: |
./${{ env.OUTPUTDIR }}-x86_64.tar.gz
./${{ env.OUTPUTDIR }}-aarch64.tar.gz
publish:
name: Publish Packages
needs: build
Expand Down

0 comments on commit 8e0c924

Please sign in to comment.