diff --git a/.github/workflows/split.yml b/.github/workflows/split.yml index 69f2db0..bf3efc1 100644 --- a/.github/workflows/split.yml +++ b/.github/workflows/split.yml @@ -4,6 +4,8 @@ on: push: branches: - master + tags: + - '*' jobs: split: @@ -15,7 +17,9 @@ jobs: steps: - uses: actions/checkout@v2 - - uses: "danharrin/monorepo-split-github-action@v2.3.0" + + - if: "!startsWith(github.ref, 'refs/tags/')" + uses: "danharrin/monorepo-split-github-action@v2.3.0" env: GITHUB_TOKEN: ${{ secrets.MONOREPO_SPLITTER_PERSONAL_ACCESS_TOKEN }} with: @@ -25,3 +29,16 @@ jobs: branch: '${{ github.ref_name }}' user_name: "Publisher" user_email: "publisher@ubient.net" + + - if: "startsWith(github.ref, 'refs/tags/')" + uses: "danharrin/monorepo-split-github-action@v2.3.0" + env: + GITHUB_TOKEN: ${{ secrets.MONOREPO_SPLITTER_PERSONAL_ACCESS_TOKEN }} + with: + tag: '${{ github.ref_name }}' + package_directory: 'packages/${{ matrix.package }}' + repository_organization: 'claudiodekker' + repository_name: 'laravel-auth-${{ matrix.package }}' + branch: 'master' + user_name: "Publisher" + user_email: "publisher@ubient.net" diff --git a/CHANGELOG.md b/CHANGELOG.md index b0f9f38..d705d03 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,9 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [Unreleased](https://github.com/claudiodekker/laravel-auth/compare/v0.1.2...HEAD) +## [Unreleased](https://github.com/claudiodekker/laravel-auth/compare/v0.2.0...HEAD) + +## [v0.2.0](https://github.com/claudiodekker/laravel-auth/compare/v0.1.2...v0.2.0) - 2023-04-03 ### Added @@ -17,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Moved `claudiodekker/laravel-auth` v0.1.0 into this monorepo - Moved `claudiodekker/laravel-auth-bladebones` v0.1.2 into this monorepo - Updated this `CHANGELOG.md` to reflect previous non-monorepo releases +- Bladebones: Changed dependency from `claudiodekker/laravel-auth` to `claudiodekker/laravel-auth-core` - Bladebones: Improved generator styling, as per Laravel Pint standards ([#23](https://github.com/claudiodekker/laravel-auth/pull/23)) - Core: Improved tests to use translations instead of string matches ([#23](https://github.com/claudiodekker/laravel-auth/pull/23)) @@ -24,14 +27,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Core: Fixed timing-related test regression ([#23](https://github.com/claudiodekker/laravel-auth/pull/23)) -## [v0.1.2](https://github.com/claudiodekker/laravel-auth-bladebones/compare/v0.1.2...v0.1.1) - 2022-11-30 +## [v0.1.2](https://github.com/claudiodekker/laravel-auth/compare/v0.1.1...v0.1.2) - 2022-11-30 ### Fixed - Bladebones: Add Laravel Pint linting to scaffolding-created files ([#1](https://github.com/claudiodekker/laravel-auth-bladebones/pull/1)) - Bladebones: Fix imports on generated files ([#2](https://github.com/claudiodekker/laravel-auth-bladebones/pull/2)) -## [v0.1.1](https://github.com/claudiodekker/laravel-auth/compare/v0.1.1...v0.1.0) - 2022-11-30 +## [v0.1.1](https://github.com/claudiodekker/laravel-auth/compare/v0.1.0...v0.1.1) - 2022-11-30 ### Fixed diff --git a/monorepo-builder.php b/monorepo-builder.php index 1206105..f49453d 100644 --- a/monorepo-builder.php +++ b/monorepo-builder.php @@ -3,27 +3,7 @@ declare(strict_types=1); use Symplify\MonorepoBuilder\Config\MBConfig; -use Symplify\MonorepoBuilder\Release\ReleaseWorker\AddTagToChangelogReleaseWorker; -use Symplify\MonorepoBuilder\Release\ReleaseWorker\PushNextDevReleaseWorker; -use Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker; -use Symplify\MonorepoBuilder\Release\ReleaseWorker\SetCurrentMutualDependenciesReleaseWorker; -use Symplify\MonorepoBuilder\Release\ReleaseWorker\SetNextMutualDependenciesReleaseWorker; -use Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker; -use Symplify\MonorepoBuilder\Release\ReleaseWorker\UpdateBranchAliasReleaseWorker; -use Symplify\MonorepoBuilder\Release\ReleaseWorker\UpdateReplaceReleaseWorker; return static function (MBConfig $mbConfig): void { $mbConfig->packageDirectories([__DIR__.'/packages']); - - // release workers - in order to execute - $mbConfig->workers([ - UpdateReplaceReleaseWorker::class, - SetCurrentMutualDependenciesReleaseWorker::class, - AddTagToChangelogReleaseWorker::class, - TagVersionReleaseWorker::class, - PushTagReleaseWorker::class, - SetNextMutualDependenciesReleaseWorker::class, - UpdateBranchAliasReleaseWorker::class, - PushNextDevReleaseWorker::class, - ]); }; diff --git a/packages/bladebones/composer.json b/packages/bladebones/composer.json index 36b454b..eb0cfb2 100644 --- a/packages/bladebones/composer.json +++ b/packages/bladebones/composer.json @@ -26,7 +26,7 @@ "php": "~8.1.0|~8.2.0", "ext-json": "*", "laravel/framework": "^9.33|^10.0", - "claudiodekker/laravel-auth-core": "^0.1.3" + "claudiodekker/laravel-auth-core": "^0.2.0" }, "require-dev": { "roave/security-advisories": "dev-latest",