-
Notifications
You must be signed in to change notification settings - Fork 5
65 lines (59 loc) · 1.73 KB
/
make-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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: Make full release
on:
workflow_dispatch:
inputs:
merge-strategy:
description: 'Merge strategy and strategy options. Used only in case of merge conflicts'
required: false
default: ''
type: string
release-version:
description: 'Version number to use. If provided bump-rule will be ignored'
required: false
default: ''
type: string
bump-rule:
description: 'Bump rule for computing next release version number.'
required: false
default: 'prerelease'
type: choice
options:
- patch
- minor
- major
- prepatch
- preminor
- premajor
- prerelease
run-tests-wait:
description: 'Wait time to run test after merge to main'
required: false
default: 600
type: number
publish-to-test-pypi:
description: 'Set to true if you want to publish to https://test.pypi.org/legacy/ instead of pypi.org'
required: false
default: false
type: boolean
defaults:
run:
shell: bash
env:
LANG: en_US.utf-8
LC_ALL: en_US.utf-8
PYTHON_VERSION: '3.10'
jobs:
call-deploy-release:
permissions:
contents: write # To push a branch
pull-requests: write # To create a PR from that branch
uses: eclipse-volttron/github-tooling/.github/workflows/deploy-release.yml@main
with:
merge-strategy: ${{ inputs.merge-strategy }}
release-version: ${{ inputs.release-version }}
bump-rule: ${{ inputs.bump-rule }}
run-tests-wait: 600
publish-to-test-pypi: false
secrets:
git-token: ${{ secrets.AUTO_PROJECT_PAT }}
pypi-token: ${{ secrets.PYPI_TOKEN }}