https://github.com/michael-rubel/artisan-release-command
An opinionated release process with Laravel Artisan Console.
https://github.com/michael-rubel/artisan-release-command
artisan artisan-command laravel looking-for-contributors php
Last synced: 7 months ago
JSON representation
An opinionated release process with Laravel Artisan Console.
- Host: GitHub
- URL: https://github.com/michael-rubel/artisan-release-command
- Owner: michael-rubel
- License: mit
- Created: 2023-08-09T10:45:09.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-05T23:08:46.000Z (7 months ago)
- Last Synced: 2025-03-18T13:51:16.483Z (7 months ago)
- Topics: artisan, artisan-command, laravel, looking-for-contributors, php
- Language: PHP
- Homepage:
- Size: 403 KB
- Stars: 16
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
# Artisan Release Command
[](https://github.com/michael-rubel/artisan-release-command/actions/workflows/tests.yml)
[](https://github.com/michael-rubel/artisan-release-command/actions/workflows/infection.yml)
[](https://github.com/michael-rubel/artisan-release-command/actions/workflows/backward-compat.yml)
[](https://github.com/michael-rubel/artisan-release-command/actions/workflows/phpstan.yml)Artisan command to create a GitHub release of your code.
### Prerequisites
- GitHub Actions
- GitHub CLI
- Access to a version file (Linux permissions).---
The package requires PHP `8.1` or higher and Laravel `10.8` or higher.
## #StandWithUkraine
[](https://github.com/vshymanskyy/StandWithUkraine/blob/main/docs/README.md)## Installation
Install the package using composer:
```bash
composer require michael-rubel/artisan-release-command --dev
```Publish the config if you need to customize the command:
```bash
php artisan vendor:publish --tag="artisan-release-command-config"
```## Usage
Setup the GitHub Actions workflow trigger with the following parameters:```yaml
on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
```Or alternatively:
```yaml
on:
release:
types:
- created
```Create a versioning file, for example:
```php