-
-
Notifications
You must be signed in to change notification settings - Fork 10
30 lines (30 loc) · 735 Bytes
/
Copy pathrelease-managment.yaml
File metadata and controls
30 lines (30 loc) · 735 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
name: Release Management
on:
pull_request:
types:
- opened
- labeled
- unlabeled
- synchronize
- reopened
milestone:
types:
- closed
permissions:
contents: write
issues: write
pull-requests: write
packages: write
jobs:
release-managment:
name: Release Management
secrets: inherit
uses: WyriHaximus/github-workflows/.github/workflows/github-action-release-managment.yaml@main
with:
milestone: ${{ github.event.milestone.title }}
description: ${{ github.event.milestone.description }}
mustCreateCommit: true
preReleaseScript: |
sed -i 's/master/${{ matrix.version }}/g' Dockerfile
cat Dockerfile
git add Dockerfile