-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (34 loc) · 1021 Bytes
/
pre_release_version_bump.yml
File metadata and controls
40 lines (34 loc) · 1021 Bytes
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
name: Manually Triggered Version Bumps
on:
push:
branches:
- auto_vb
workflow_dispatch:
jobs:
pre_release_version_bump:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v2
- name: Install Python
uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pennylane
- name: Run version bump
run: >
python .github/workflows/vb_script.py
--version_path "./pennylane_orquestra/_version.py"
--changelog_path "./CHANGELOG.md" --pre_release
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
commit-message: pre release version bump
title: Version Bump
body: updated changelog and _version.py
branch: pre-release-version-bump
reviewers: Jaybsoni
base: main