2022-02-06 13:22:23 +00:00
|
|
|
name: Create Tag
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Get version
|
|
|
|
id: version
|
|
|
|
uses: notiz-dev/github-action-json-property@release
|
|
|
|
with:
|
|
|
|
path: 'composer.json'
|
|
|
|
prop_path: 'version'
|
|
|
|
- name: Create Release
|
|
|
|
uses: ncipollo/release-action@v1
|
|
|
|
with:
|
|
|
|
tag: v${{steps.version.outputs.prop}}
|
2022-02-07 17:32:45 +00:00
|
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
2022-02-06 13:22:23 +00:00
|
|
|
allowUpdates: true
|