-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (36 loc) · 907 Bytes
/
release.yml
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
name: Create Tag
on:
push:
branches:
- 'main'
tags-ignore:
- '**'
defaults:
run:
shell: bash
jobs:
create-version:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest ]
python-version: [ "3.12" ]
steps:
- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ vars.RELEASE_BOT_APP_ID }}
private-key: ${{ secrets.RELEASE_BOT_APP_PKEY }}
- uses: actions/checkout@v4
with:
token: ${{ steps.app-token.outputs.token }}
- uses: ./.github/actions/bootstrap-environ
id: bootstrap-environ
with:
python-version: ${{ matrix.python-version }}
runner: ${{ matrix.os }}
- name: Tag New Version
run: make release-version
- name: Push New Version
run: git push --follow-tags origin ${{ github.ref_name }}