-
Notifications
You must be signed in to change notification settings - Fork 212
46 lines (41 loc) · 1.18 KB
/
create-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
name: Release
on:
push:
workflow_dispatch:
inputs:
pre-release:
required: false
type: boolean
default: false
description: "This release will be labeled as non-production ready"
# Monitor pull request events
pull_request:
types:
- closed
# TODO: 'develop' is for testing only, change this value to 'main' before merging to main
branches:
- develop
jobs:
release:
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
steps:
# TODO: Remove after finalising
- name: Checkout
uses: actions/checkout@v4
- name: Debug
run: |
ls -la
cat VERSION
- name: Prepare the next main release
uses: Adyen/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
# TODO: change this value to 'main' before merging to 'main', this value should be the same as 'on->pull_request->branches'
develop-branch: ECP-9213
version-files: composer.json
release-title: Adyen Magento-2 Plugin
pre-release: ${{ inputs.pre-release || false }}
separator: .pre.beta