-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (37 loc) · 1.37 KB
/
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
####################################################################
## WARNING - THIS ACTION WILL PUSH COMMIT DIRECTLY INTO REPOSITORY #
####################################################################
#
#name: Deploy and Release
#on:
# push:
# tags: ["v[0-9]+.[0-9]+.[0-9]+*"]
#
#jobs:
# changelog-release-unreleased:
# name: "Update Changelog - Release Unreleased"
# runs-on: "ubuntu-latest"
# steps:
# - id: "tag-name"
# run: |
# tag=$(echo ${{ github.event.ref }} | cut -c11-)
# echo "::set-output name=tag::$tag"
# - name: "Update CHANGELOG"
# uses: "docker://aeonphp/automation:latest"
# env:
# AEON_AUTOMATION_GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
# with:
# entrypoint: "/composer/vendor/bin/automation"
# args: "changelog:release:unreleased ${{ github.repository }} CHANGELOG.md ${{ steps.tag-name.outputs.tag }} --github-file-changelog-update"
#
# - name: Create Release
# id: create_release
# uses: actions/create-release@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
# with:
# tag_name: ${{ github.ref }}
# release_name: Release ${{ github.ref }}
# body_path: "CHANGELOG.md"
# draft: false
# prerelease: false