-
Notifications
You must be signed in to change notification settings - Fork 11
47 lines (44 loc) · 1.52 KB
/
release.yml
File metadata and controls
47 lines (44 loc) · 1.52 KB
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
name: Automated Release
run-name: "${{ inputs.dry_run && 'Dry-run for ' || 'Preform ' }} ${{ inputs.release_type }} release of ${{ github.ref }} branch"
on:
workflow_dispatch:
inputs:
release_type:
type: choice
description: The release type
options:
- "major"
- "minor"
- "patch"
default: "minor"
dry_run:
description: Perform the release dry-run
required: true
type: boolean
default: true
permissions:
contents: write
actions: read
jobs:
deprecation-warning:
runs-on: ubuntu-latest
steps:
- name: Show Deprecation Notice
run: |
echo "::error::=========================================="
echo "::error:: This workflow is DEPRECATED"
echo "::error::=========================================="
echo "::error::"
echo "::error::Please use the new workflow:"
echo "::error:: 'Validated Release'"
echo "::error::"
echo "::error::Location:"
echo "::error:: .github/workflows/release-validated.yml"
echo "::error::"
echo "::error::The new workflow includes:"
echo "::error:: - Pre-release test validation (testDebug + testAsan)"
echo "::error:: - Annotated git tags (fixes GitLab trigger)"
echo "::error:: - Improved error handling and rollback procedures"
echo "::error::"
echo "::error::=========================================="
exit 1