-
Notifications
You must be signed in to change notification settings - Fork 3.7k
42 lines (38 loc) · 1.34 KB
/
aptos-node-release.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: "Release aptos-node"
on:
workflow_dispatch:
inputs:
release_tag:
type: string
required: true
description: "The release tag to create. E.g. `aptos-node-v0.2.3`:"
branch:
type: string
required: true
description: "The branch to cut the release from"
release_title:
type: string
required: false
description: 'Name of the release, e.g. "Aptos Node Release v1.2.3":'
jobs:
release-aptos-node:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ inputs.branch }}
- uses: actions/setup-python@v4
- name: Bump aptos-node version
uses: aptos-labs/aptos-core/.github/actions/release-aptos-node@main
with:
release_tag: ${{ inputs.release_tag }}
aptos_node_cargo_toml: aptos-node/Cargo.toml
- name: Create Pull Request
uses: peter-evans/create-pull-request@a4f52f8033a6168103c2538976c07b467e8163bc # [email protected]
with:
add-paths: aptos-node
title: "[aptos-node] update release version"
body: Automated release bump for ${{ inputs.release_tag }}. Change the PR base accordingly
commit-message: "[aptos-node] update release version"
branch: auto-release-${{ inputs.release_tag }}
delete-branch: true