@limetech/semantic-release-laravel
v1.11.0
Published
semantic-release shareable config to publish lime php
Downloads
216
Keywords
Readme
Description
In order to have semantic release for Laravel projects . Change the version in packages.json and composer.json
Install
$ npm install --save-dev semantic-release @lime/semantic-release-laravel
Usage
The shareable config can be configured in the semantic-release configuration file:
{
"extends": "@lime/semantic-release-laravel"
}
Full GH Actions example
name: Release and Publish
on:
push:
branches:
- main
- master
- dev
jobs:
semantic-release:
name: Run Semantic Release
if: "!contains(github.event.head_commit.message, '[skip ci]')"
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Create a new release and bump version
id: semantic
uses: cycjimmy/semantic-release-action@v2
with:
semantic_version: 17.3.9
extends: '@limetech/semantic-release-laravel'
branches: |
[
"main",
"master",
{"name": "dev", "prerelease": true}
]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}